Dec-07-2021, 11:02 AM
Hello,
I faced to a quite strange problem: if my python program is started as service certain commands aren't executed correctly whereas if I start it in python environment the same commands executed correctly.
For example if the following command
In the case of launching as service the bbb variable is empty.
Any comments ?
Thanks.
I faced to a quite strange problem: if my python program is started as service certain commands aren't executed correctly whereas if I start it in python environment the same commands executed correctly.
For example if the following command
bbb = os.popen('ls').read()is executed in python environment, in bbb variable there is content of current directory
In the case of launching as service the bbb variable is empty.
Any comments ?
Thanks.