Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
acf61103
Commit
acf61103
authored
Aug 20, 2015
by
Ehsan Azarnasab
Browse files
set sid only on posix
parent
08fb925b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
acf61103
...
@@ -158,7 +158,7 @@ def run_process(cmds, timeout=None):
...
@@ -158,7 +158,7 @@ def run_process(cmds, timeout=None):
p
=
Popen
(
cmds
,
p
=
Popen
(
cmds
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
bufsize
=
1
,
bufsize
=
1
,
close_fds
=
_ON_POSIX
,
preexec_fn
=
os
.
setsid
)
close_fds
=
_ON_POSIX
,
preexec_fn
=
os
.
setsid
if
_ON_POSIX
else
None
)
q
=
Queue
()
q
=
Queue
()
t
=
Thread
(
target
=
enqueue_output
,
args
=
(
p
.
stdout
,
q
))
t
=
Thread
(
target
=
enqueue_output
,
args
=
(
p
.
stdout
,
q
))
...
...
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