A simple tool for restarting Linux processes.
Open terminal and run the command sudo apt install python3.
You can use the program in three ways.
Use the exact command, not an alias.
-
python3 relaunch.py "your command" [options]python3 relaunch.py "python3.11 server.py" -
-
Run
python3 relauch.py [options]in the program directory. -
Enter the command you used to launch the process in the text field:
Enter a command to relaunch:
-
-
-
Open file
relaunch.py. -
Find the
mainfunction. -
Pass the command you want to restart into the
commandvariable.
-
-a- relaunch all processes with the specified process name.