Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
0311b2de
Commit
0311b2de
authored
Jul 07, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement start_new_session.
parent
4469ef5e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
gevent/subprocess.py
gevent/subprocess.py
+3
-1
greentest/patched_tests_setup.py
greentest/patched_tests_setup.py
+0
-3
No files found.
gevent/subprocess.py
View file @
0311b2de
...
@@ -284,7 +284,6 @@ class Popen(object):
...
@@ -284,7 +284,6 @@ class Popen(object):
else
:
else
:
close_fds
=
False
close_fds
=
False
if
mswindows
:
if
mswindows
:
if
preexec_fn
is
not
None
:
if
preexec_fn
is
not
None
:
raise
ValueError
(
"preexec_fn is not supported on Windows "
raise
ValueError
(
"preexec_fn is not supported on Windows "
...
@@ -1017,6 +1016,9 @@ class Popen(object):
...
@@ -1017,6 +1016,9 @@ class Popen(object):
if
sig
is
not
None
:
if
sig
is
not
None
:
signal
.
signal
(
sig
,
signal
.
SIG_DFL
)
signal
.
signal
(
sig
,
signal
.
SIG_DFL
)
if
start_new_session
:
os
.
setsid
()
if
env
is
None
:
if
env
is
None
:
os
.
execvp
(
executable
,
args
)
os
.
execvp
(
executable
,
args
)
else
:
else
:
...
...
greentest/patched_tests_setup.py
View file @
0311b2de
...
@@ -218,9 +218,6 @@ if sys.version_info[:2] >= (3, 4):
...
@@ -218,9 +218,6 @@ if sys.version_info[:2] >= (3, 4):
# Our monkey patch waits for the process with a watcher and so detects
# Our monkey patch waits for the process with a watcher and so detects
# the exit before the normal polling mechanism would
# the exit before the normal polling mechanism would
'test_subprocess.POSIXProcessTestCase.test_start_new_session'
,
# XXX: We don't implement the start_new_session option yet
'test_subprocess.POSIXProcessTestCase.test_exception_bad_args_0'
,
'test_subprocess.POSIXProcessTestCase.test_exception_bad_args_0'
,
'test_subprocess.POSIXProcessTestCase.test_exception_bad_executable'
,
'test_subprocess.POSIXProcessTestCase.test_exception_bad_executable'
,
'test_subprocess.POSIXProcessTestCase.test_exception_cwd'
,
'test_subprocess.POSIXProcessTestCase.test_exception_cwd'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment