On Linux you can redirect the output (and error stream) to /dev/null, on Windows to NUL (iirc). If the program writes directly to the console, that doesn't work, but luckily that's only very seldom the case.
Since you didn't tell us the operating system, it's a bit of a guesswork.
Perl 6 - links to (nearly) everything that is Perl 6.
| [reply] [Watch: Dir/Any] |
Many thanks Moritz. I am using Ubuntu. Sorry for being slow (I don't use Perl often), but what should be the actual command line for redirecting the system command screen output?
| [reply] [Watch: Dir/Any] |
system "$command @arguments >/dev/null 2>&1"
and die "...";
Perl 6 - links to (nearly) everything that is Perl 6.
| [reply] [Watch: Dir/Any] [d/l] |