" Executes cmd in a subshell, returning true if the command was found
and ran successfully, false otherwise. An error status is available
in
$?. The arguments are processed in the same way as for Kernel::exec."
Simone F. wrote:
Ho uno script in cron che lancia dei comandi di sistema con system.
Cose tipo : system ("rm test.txt") //
Volevo sapere come posso intercettare gli errori che vengono
generati dal comando lanciato. ("File not found" - "Permission
denied" - etc)
Grazie
Simone
_______________________________________________
Ml mailing list
[1][email protected]
[2]http://lists.ruby-it.org/mailman/listinfo/ml
–
“Remember, always be yourself. Unless you suck.” - Joss Whedon