def run(argv): """Spawn a process with master read writing a log file in between. Args: argv: Additional arguments after `python py_logger` command """ pity.spawn(argv, master_read=master_read, handle_window_size=True)
def interactive(): pity.spawn(['python', '-c', 'while True: raw_input()'], master_read=master_read, handle_window_size=True) print(outputs)
def run(argv): pity.spawn(argv, master_read=master_read, handle_window_size=True)
def run(argv): pity.spawn(argv, master_read=master_read, handle_window_size=True, terminal_output_lock=terminal_output_lock)