Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Script Execute

Using to execute all script files in the scripts folder and get output, the script must be fully automatic without any user interaction

Usage:

  • Create folder scripts in same location
  • Add your script file(s) to scipts folder, 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)
  • The output logs will save in logs folder

Build app:

  • With make: make build_exe
  • (or): pyinstaller --onefile script_execute.py