Quantcast
Viewing all articles
Browse latest Browse all 5139

Python • Re: How Do I Open Audacity With Python?

Code:

@reboot ping google.com #plus redirecting the errors to a file
I doubt that this line would work and be useful (it used to test, AFTER ADAPTATION, wheteher RPi has an IT adress: as google is anywhere, this makes sense...)
After adaptation, line might look like that (untested)

Code:

@reboot ping google.com > /home/pi/googleRedirected.log 2>&1
Well, I doubt YOUR topic is to check whether there is a working IT link. If audacity needs a Xterminal, perhaps YOU should manage to find a way to detect X server is avalaible (it is not, at boot!) Are there otther pieces of software which need to start before audacity?


BTW I would be very surprised if lines of python could execute from crontab (even one line)! . crontab can execute scripts like that:

Code:

#!/usr/bin/python3 # untested # this would be in a executable file lots of python lines
or

Code:

#!/usr/bin/bash bash_command > /home/pi/bash_command.log 2>&11/usr/bin/python3  full/path/python_script.py > python_command.log 2>&1

Statistics: Posted by dbrion1 — Tue Mar 19, 2024 5:13 pm



Viewing all articles
Browse latest Browse all 5139

Trending Articles