Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: config env script help building gradle from perl script (system/open tips needed)

by gj2666 (Beadle)
on Jun 11, 2013 at 18:07 UTC ( #1038306=note: print w/replies, xml ) Need Help??


in reply to Re: config env script help building gradle from perl script (system/open tips needed)
in thread config env script help building gradle from perl script (system/open tips needed)

I'm not sure I see how your suggestion is different than what I'm doing? Referencing PerlDoc I only see system(), ``, open(), and exec() as ways to execute commands in the shell. What am I missing?
  • Comment on Re^2: config env script help building gradle from perl script (system/open tips needed)

Replies are listed 'Best First'.
Re^3: config env script help building gradle from perl script (system/open tips needed)
by Corion (Pope) on Jun 11, 2013 at 18:55 UTC

    My suggestion is different because batch files executed by cmd.exe modify the environment of the cmd.exe process they are called in.

      so...
      Why not simply write a batch file (using Perl) that invokes the environment setup...
      ...you're saying create a .bat or .cmd file can be created containing perl code?

      Never occurred to me to try something like that.

      (*brain collapsing in on itself*)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038306]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-12-08 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.