Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 having an uproarious good time at the Monastery: (4)
As of 2018-02-22 04:10 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (288 votes). Check out past polls.