in reply to Why doesn't 'system' return '-1' when a program fails to start on Windows?

Because its not supposed to?

Those bits of documentation aren't a description of what is supposed to happen, esp on every platform

Only 0 on no-error is portable

  • Comment on Re: Why doesn't 'system' return '-1' when a program fails to start on Windows?