Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Issue with env variables set through dos batch

by ikegami (Pope)
on Oct 13, 2011 at 16:45 UTC ( #931315=note: print w/replies, xml ) Need Help??


in reply to Re: Issue with env variables set through dos batch
in thread Issue with env variables set through dos batch

While environment variables are inherited from parent to child like in Linux, a batch files are run more like source foo.bat than cmd /c foo.bat when possible (when the parent is cmd).

Replies are listed 'Best First'.
Re^3: Issue with env variables set through dos batch
by moritz (Cardinal) on Oct 13, 2011 at 17:08 UTC

      The parent is perl, which can't execute batch files, so a cmd is indeed launched here.

      I wasn't so much correcting you as explaining that the behaviour is different than explained when the batch file is run from the prompt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://931315]
help
Chatterbox?
[rajesh_perl]: Hi
[rajesh_perl]: thanks for editing it
beech testing firefox 52.0.1
beech me me me me
beech mi
beech eieie
beech .oO( *you* don't exist, I'm only messaging to *me* self),
[beech]: *me

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-03-28 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (327 votes). Check out past polls.