Re: [Tutor] How to source a shell script through python to set the environment variables.

2016-02-23 Thread Alan Gauld
On 23/02/16 07:29, Aneeque Khan wrote: > env_test.sh looks like this :- > #!/bin/bash > export OS_AK="Aneeque" > export OS_KHAN="KHAN" > > echo "Please enter your Stack Password: " > read -sr OS_PWD_INPUT > export OS_PWD=$OS_PWD_INPUT > > Now I want to execute the above script through python fil

[Tutor] How to source a shell script through python to set the environment variables.

2016-02-23 Thread Aneeque Khan
>From the past week I am struggling to source a shell script through python >script, to set the environment variables. Problem details are :- I have a shell script named "env_test.sh", through which I set some environment variables by using command "source env_test.sh". env_test.sh looks like th