V
Valentine Kouznetsov
Hi,
simple question, how to execute command in current shell, not in
subshell?
Example. I have environment variable A=aaa and need to invoke shell
(sh) script which will do something with A. If I do os.system() then
sub-shell will setup A
and execute my script there leaving A in parent shell untouched.
Thanks,
Valentine.
simple question, how to execute command in current shell, not in
subshell?
Example. I have environment variable A=aaa and need to invoke shell
(sh) script which will do something with A. If I do os.system() then
sub-shell will setup A
and execute my script there leaving A in parent shell untouched.
Thanks,
Valentine.