in reply to Environment Paths
Of course, if it's because of your PATH variable that you're having problems, you're far more secure doing something like this:$ENV{PATH} = "/bin:/usr/bin:/some/weird/bin"; $ENV{SOME_VAR} = "some value"; $output = `some_command that I want output for`; system("some_command with output to STDOUT");
system("/absolute/path/to/some_command", "argument1", "2", $etc);
|
|---|