Home
last modified time | relevance | path

Searched refs:new_stdin (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Demo/pysvr/
Dpysvr.c279 PyObject *new_stdin, *new_stdout; in run_interpreter() local
296 new_stdin = PyFile_FromFile(input, "<socket-in>", "r", NULL); in run_interpreter()
299 PySys_SetObject("stdin", new_stdin); in run_interpreter()
334 Py_XDECREF(new_stdin); in run_interpreter()
/external/python/cpython3/Lib/test/
Dtest_subprocess.py2034 new_stdin = os.dup(0)
2048 os.dup2(new_stdin, 0)
2050 os.close(new_stdin)