Guest
Public paste!

dx

By: a guest | Mar 21st, 2010 | Syntax: Winbatch | Size: 0.16 KB | Hits: 104 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. @echo off
  2. :start
  3. echo Restarting python...
  4. python whatever.py
  5. if errorlevel 3 goto start
  6. if errorlevel 1 goto pause
  7. goto end
  8. :pause
  9. pause
  10. goto start
  11. :end