Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^12: Using STDIN after exec() with ActiveState Perl

by Yaribz (Beadle)
on Jun 21, 2015 at 21:11 UTC ( [id://1131408]=note: print w/replies, xml ) Need Help??


in reply to Re^11: Using STDIN after exec() with ActiveState Perl
in thread Using STDIN after exec() with ActiveState Perl

It's the unitsync library used by the Spring RTS project (https://springrts.com/). The environment variables used by this library are specific to this project (SPRING_DATADIR and SPRING_WRITEDIR).

Replies are listed 'Best First'.
Re^13: Using STDIN after exec() with ActiveState Perl
by Anonymous Monk on Jun 21, 2015 at 21:18 UTC
    It should work exactly the same way
    use Module::Load; ... $ENV{SPRING_DATADIR} = ...; load( "ModuleName" );
      On Linux it works, but not on Windows (I re-checked right now).

        On Linux it works, but not on Windows (I re-checked right now)

        I don't believe that :)

        You must be loading the module before you modify %ENV

        Don't do that, only load the module after you've set %ENV

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-03-28 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found