in reply to Re^2: Why doesn't 'system' return '-1' when a program fails to start on Windows?
in thread Why doesn't 'system' return '-1' when a program fails to start on Windows?
I definitely missed that. Seems like an odd choice for a sentinel value, though. I'm surprised '-1' wasn't used for consistency.
|
|---|