Dave Thomas schrieb:
> Shame... It makes a simple interface a lot uglier...
You wrote about long ago: PickAxe/Kernel#system/Last sentence:
Raises SystemCallError if the command couldn't execute
(typically Errno::ENOENT).
I never recognized this sentence, because it never happend. Is
it possible, that this was an earlier behavior of Ruby that was
changed and is now re-implemented?
On Windows "system" returns "true" only if a normal exit occurs
("exit(0)"). If the command exits with another exit value "system"
returns "false".
Why not use a return value "nil" ("command not in list of command")
if the command cannot be executed, instead of raising an Exception?
Wolfgang NĂ¡dasi-Donner