Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Reading and setting the environment from a shell script for the calling program

by herveus (Prior)
on Sep 01, 2004 at 13:52 UTC ( [id://387517]=note: print w/replies, xml ) Need Help??


in reply to Reading and setting the environment from a shell script for the calling program

Howdy!

The child process cannot change the parent process's environment. Period. Stop. End of story.

On the other hand, if the child process diddles its environment and concludes by running 'env', the parent can capture that output and use it (or whatever subset it cares to take) to update its own environment.

See Re: UNIX environment setup via perl for my take on this...

yours,
Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://387517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-03-28 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found