On Monday, 30 March 2015 at 12:54:28 UTC, Adam D. Ruppe wrote:
On Monday, 30 March 2015 at 12:28:19 UTC, wobbles wrote:
Any solutions that people know of?
You can't from an exe, it is a limitation of the operating
system (same on Linux btw, environment variable inheritance is
always from
On Monday, 30 March 2015 at 12:28:19 UTC, wobbles wrote:
Any solutions that people know of?
You can't from an exe, it is a limitation of the operating system
(same on Linux btw, environment variable inheritance is always
from parent to child, never from child to parent). The reason
batch
On Monday, 30 March 2015 at 12:28:19 UTC, wobbles wrote:
I'm trying to set environment variables that will be visible
when my D program exits.
It is possible in a windows batch file using the set command
(like set VAR=VALUE )
However, running this in D using:
import std.process;
import
On Monday, 30 March 2015 at 13:29:06 UTC, wobbles wrote:
On Monday, 30 March 2015 at 12:54:28 UTC, Adam D. Ruppe wrote:
On Monday, 30 March 2015 at 12:28:19 UTC, wobbles wrote:
Any solutions that people know of?
You can't from an exe, it is a limitation of the operating
system (same on
I'm trying to set environment variables that will be visible when
my D program exits.
It is possible in a windows batch file using the set command
(like set VAR=VALUE )
However, running this in D using:
import std.process;
import std.stdio;
void main(){
auto pid1 = spawnShell(`set
On Monday, 30 March 2015 at 14:14:50 UTC, Laeeth Isharc wrote:
On Monday, 30 March 2015 at 13:29:06 UTC, wobbles wrote:
On Monday, 30 March 2015 at 12:54:28 UTC, Adam D. Ruppe wrote:
On Monday, 30 March 2015 at 12:28:19 UTC, wobbles wrote:
Any solutions that people know of?
You can't from
You tried setx, and it didn't work ? Or you don't want to set
permanent environmental variables
Yep, correct. Don't want them to be permanent. The systems have
to be clean for other tests at all times, so they need to be on
a shell by shell basis sadly.
Thanks - was curious to know.