Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-03-31 01:44 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (364 votes). Check out past polls.