Re: [Dev-C++] Re: execution of a string with system()
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Abhijit S. <mu...@gm...> - 2002-09-19 16:27:13
|
> > Hello, > > think Abhijit Shylanath mistyped his response - should be (untested too) : > Yes, he did. Dumb guy. Serves him right for mixing up ambiguity. ... > Before ending, a little warning : if you want to execute system commands in > a multi-threaded program, you MUSN'T use the system() function. You must > then use a combination of fork() and for example waitpid() commands. > If you need a sample, query on the list. This is, unfortunately, platform-dependant, and on Windows, you should use CreateProcess(). Same last sentence. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |