diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-04 16:03:41 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-04 16:03:41 +0200 |
commit | 8c1d4604db54021b774b17eb7440685b4638163b (patch) | |
tree | a9a23dc0027346f2d9453f74093314f9d7021607 /sys/src/cmd/python/Python/getplatform.c | |
parent | 0be917ff4d11268824d58598f85348436010f2bd (diff) |
page: close stdout, reopen stdout/stderr for external viewer and removed useless RFNAMEG flag
we are not using stdout (fd=1) and it, so dup nullfd over it.
this drops the old window reference when using with -w flag.
the RFNAMEG flag isnt needed because we are calling newwindow()
which forks the namespace for us.
reopen stdin/stdout for the external viewer to the new window.
Diffstat (limited to 'sys/src/cmd/python/Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions