Re: system_exec()

new topic     » goto parent     » topic index » view thread      » older message » newer message

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* smile
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     |  '---''(_/--'  `-'\_)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu