<s> import signal <EOL> import sys <EOL> sys . path . append ( '<STR_LIT>' ) <EOL> import weblab <EOL> import voodoo . gen . launcher as Launcher <EOL> def before_shutdown ( ) : <EOL> print "<STR_LIT>" <EOL> launcher = Launcher . MachineLauncher ( <EOL> '<STR_LIT:.>' , <EOL> '<STR_LIT>' , <EOL> ( <EOL> Launcher . SignalWait ( signal . SIGTERM ) , <EOL> Launcher . SignalWait ( signal . SIGINT ) , <EOL> Launcher . RawInputWait ( "<STR_LIT>" ) <EOL> ) , <EOL> { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } , <EOL> before_shutdown , <EOL> ( <EOL> Launcher . FileNotifier ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ) , <EOL> pid_file = '<STR_LIT>' , <EOL> debugger_ports = { '<STR_LIT>' : <NUM_LIT> , '<STR_LIT>' : <NUM_LIT> , '<STR_LIT>' : <NUM_LIT> } <EOL> ) <EOL> launcher . launch ( ) </s>
