| i'm not necessarily suggesting any changes, i just don't
really understand the differences -- i think popen() will only
return after the command is completed, which is enough
reason not to use it.
On Jun 6, 2006, at 1:03 AM, Istvan Varga wrote:
> Well, you are a bit late with this, given that the function is
> already there, and the sources are tagged for the 5.02 release.
> Anyway, you can just call popen() itself, but remember that the
> function names must be prefixed with _ on Windows (_popen() etc.)
> if portability to that platform is important.
>
> On Monday 05 June 2006 19:08, Matt Ingalls wrote:
>
>> is there a way to get the output stream from this API function?
>>
>> i'm not that much of a unix person, but i have used popen()
>> for similar things -- which returns a FILE stream that you can
>> grab output from.
>>
>> is there a reason csoundRunCommand() uses fork()/execvp()
>> instead?
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-m@
________________________
matt ingalls
http://sfsound.org/matt.html
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |