Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
pipelet
Pipelet
Commits
b866095f
Commit
b866095f
authored
Jan 16, 2011
by
Betoule Marc
Browse files
Small improvement to loggedsubprocess
parent
c1e8ecda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pipelet/environment.py
pipelet/environment.py
+2
-2
No files found.
pipelet/environment.py
View file @
b866095f
...
...
@@ -218,8 +218,8 @@ class Environment(EnvironmentBase):
ef
=
self
.
get_data_fn
(
proc
+
'.err'
)
o
=
file
(
of
,
'w'
)
e
=
file
(
ef
,
'w'
)
o
.
write
(
'#'
+
' '
.
join
([
str
(
a
)
for
a
in
args
])
+
'
\n
'
)
o
.
flush
()
e
.
write
(
'#'
+
' '
.
join
([
str
(
a
)
for
a
in
args
])
+
'
\n
'
)
e
.
flush
()
p
=
subprocess
.
Popen
(
args
,
stdout
=
o
,
stderr
=
e
,
shell
=
shell
)
p
.
communicate
()[
0
]
if
except_on_failure
:
...
...
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