Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: system call not working

by chip (Curate)
on May 12, 2004 at 16:58 UTC ( #352837=note: print w/replies, xml ) Need Help??

in reply to system call not working

"The path to the program is also definately in my .bashrc file"? What do you mean? And more to the point, why should that matter? After all, .bashrc is only sourced for interactive shells, and even if your system() call were using a shell, it wouldn't be an interactive one.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: system call not working
by Anonymous Monk on May 12, 2004 at 19:53 UTC
    But if you always run your Perl script from an interactive shell, then it inherits those environment variables.
      You're assuming that environment variables are involved. Maybe it's a shell alias.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://352837]
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-01-20 14:52 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.