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 (Patriarch) 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*)