Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
9795543b
Commit
9795543b
authored
Apr 13, 2016
by
marc
Browse files
task.py: use DIR_FUSE as default DIR for pre_process script
parent
097cd375
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
9795543b
...
...
@@ -658,7 +658,7 @@ def run_pre_process(pre_process_id, sequence_file_id, clean_before=True, clean_a
sys
.
stdout
.
flush
()
log_file
=
open
(
out_folder
+
'/'
+
output_filename
+
'.pre.log'
,
'w'
)
os
.
chdir
(
defs
.
DIR_FUSE
)
p
=
Popen
(
cmd
,
shell
=
True
,
stdin
=
PIPE
,
stdout
=
log_file
,
stderr
=
log_file
,
close_fds
=
True
)
(
stdoutdata
,
stderrdata
)
=
p
.
communicate
()
print
"Output log in "
+
out_folder
+
'/'
+
output_filename
+
'.pre.log'
...
...
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