Tag Info

Hot answers tagged

2

It might be a PATH issue? Here is an example script that runs the echo command which is in my $PATH. root@kt-wim-play:~# cat test.pl #!/usr/bin/perl -w use strict; print "PATH=$ENV{PATH}\n"; print "Running a command... [" . `echo foo bar baz` . "]\n"; root@kt-wim-play:~# perl test.pl PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ...



Only top voted, non community-wiki answers of a minimum length are eligible