Using to execute all script files in the scripts folder and get output, the script must be fully automatic without any user interaction
- Create folder
scriptsin same location - Add your script file(s) to
sciptsfolder, only execute file with extension(s):sh, bat, ps1 - Run app:
- execute all script(s) with no timeout:
python script_execute.py - execute all script(s) with timeout for 30 seconds:
python script_execute.py 30 - execute single script with no timeout:
python script_execute.py 0 my_script.sh(my_script.sh must exist in the scripts folder)
- execute all script(s) with no timeout:
- The output logs will save in
logsfolder
- With make:
make build_exe - (or):
pyinstaller --onefile script_execute.py