Re: system_exec()
- Posted by Juergen Luethje <j.lue at gmx.de> Jul 11, 2003
- 512 views
Hi Igor, thanks for your reply. <snip> > system_exec() is function, so it waits the exit code > to return it into your program from the child process. Uuuh... *Putting my hands up to my face* Of course. If system_exec() wouldn't wait, then it's return value would be undefined. <snip> > Windows, Linux, FreeBSD are all multitasking OSs, > so system() doesn't stop your parent program. > > Just some thoughts, I am not too sure. This also seems to be quite logical for me now. In contrast to system_exec(), "system() will start a new DOS or Linux/FreeBSD shell." [Eu 2.4 docs] And AFAIK several shells don't wait for each other. > Best regards, > Igor Kachan > kinz at peterlink.ru Thank you, says Juergen -- /"\ ASCII ribbon campain | |\ _,,,---,,_ \ / against HTML in | /,`.-'`' -. ;-;;,_ X e-mail and news, | |,4- ) )-,_..;\ ( `'-' / \ and unneeded MIME | '---''(_/--' `-'\_)