Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

ksc_local_exec and environment variables

Highlighted

ksc_local_exec and environment variables

Hi,

I try to set a environment variable using the command ksc_local_exec export MY_VAR=Hello
it fails with the error: No such file or directory.
Does somebody have an idea ho to set os environment variables with special commands?

Thanks.

Regards
Volker
3 REPLIES
Cesar Roque
Regular Collector

Re: ksc_local_exec and environment variables

Is your app running over a linux/UNIX enviroment if not, I assume that you are using cygwin or kintana net pack, if this is your case I think the export command is not available or installed talking about cygwin, I'm not sure If it exist at cywing.

Maybe you can try to do it at the windows way:

set MY_VAR=HELLO

Regards

Re: ksc_local_exec and environment variables

Hi,

thank you for your response.
It is a linux box.
The export command itself works fine from command line. But ksc_local_exec come up with a error.

Set command in linux is completely different from within windows.

Regards
Volker

Re: ksc_local_exec and environment variables

solved
//Add this to "OnDomLoad" event