Lines Matching +full:- +full:- +full:stdin
3 # Use of this source code is governed by a BSD-style license that can be
15 if len(sys.argv) == 2 and sys.argv[1] == '--prespawn_autotest':
16 # Run an autotest process, and on stdin, wait for a pickled environment +
31 env, sys.argv = pickle.load(sys.stdin)
69 # Write the environment and argv to the process's stdin; it will launch
71 pickle.dump((new_env, args), process.stdin, protocol=2)
72 process.stdin.close()
77 Starts a thread to pre-spawn autotests.
82 ['python', '-u', os.path.realpath(__file__),
83 '--prespawn_autotest'],
85 stdin=subprocess.PIPE)
86 logging.debug('Pre-spawned an autotest process %d', process.pid)
98 Stops the pre-spawn thread gracefully.
112 pickle.dump((None, None), process.stdin, protocol=2)
113 process.stdin.close()