On Tue, Dec 13, 2011 at 12:16:18AM +0100, Max Kellermann wrote: > On 2011/12/12 22:39, Jonathan Neuschäfer <j.neuschae...@gmx.net> wrote: > > Perhaps we should use system() instead of fork and exec. Max? > > system() is easier to use and portable, but fork() gives you more > control; for example, you could try a list of executables in one child > process, instead of having to fork for every attempt. > > Portability is important, as Avuton is preparing a WIN32 build. If > the feature is made in a way that is not portable, it should be > auto-disabled (with #if) on incompatible platforms, or there should be > a fallback.
Speaking of it, how well does the lyrics screen work on Windows? It calls mkdir with two arguments, which Avuton changed in the conf code in release-0.19-59-g3aea924, the plugin code uses bare FDs and fork/exec, and the current plugins use shell script, ruby and python, so at least plugin.c whould have to be changed as well to avoid these unix-isms. Thanks, Jonathan Neuschäfer ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team