ValvePython / steamctl

🤸 Take control of Steam from your terminal
https://pypi.org/project/steamctl/
MIT License
306 stars 16 forks source link

Steamctl does not like to run in the background/process #70

Closed NethercraftMC5608 closed 1 year ago

NethercraftMC5608 commented 1 year ago

I am making a script in python, and it uses subprocess.popen (which would run it in the background)

It works when i run it in the terminal, but once i make the script start on boot, steamctl would not work with subprocess.

I would love to give you debug logs, but i cannot seem to access or get the output of the python script running (as i am running it headlessly)

nutterthanos commented 1 year ago

Maybe have the script pipe it's output to a file

NethercraftMC5608 commented 1 year ago

Maybe have the script pipe it's output to a file

I have tried that, doesn't work and does not output error from subprocess.

But i've now just built it from the ground up using the steam library.