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
>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