Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
17405870
Commit
17405870
authored
Oct 23, 2014
by
Marc Duez
Browse files
task.py : print vidjil/fuse command in database
parent
7902fc56
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
17405870
...
...
@@ -94,6 +94,7 @@ def run_vidjil(id_file, id_config, id_data, id_fuse):
## execute la commande vidjil
print
"===Vidjil output==="
print
cmd
db
.
commit
()
p
=
Popen
(
cmd
,
shell
=
True
,
stdin
=
PIPE
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
close_fds
=
True
)
p
.
wait
()
print
p
.
stdout
.
read
()
...
...
@@ -129,6 +130,7 @@ def run_vidjil(id_file, id_config, id_data, id_fuse):
print
"===fuse output==="
print
cmd
db
.
commit
()
p
=
Popen
(
cmd
,
shell
=
True
,
stdin
=
PIPE
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
close_fds
=
True
)
p
.
wait
()
print
p
.
stdout
.
read
()
...
...
Write
Preview
Supports
Markdown
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