projects
/
ffpreview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6108b
)
* Partial revert of previous commit (dropped 'disown').
author
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 9 May 2021 16:50:16 +0000
(18:50 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 9 May 2021 16:50:16 +0000
(18:50 +0200)
ffpreview.py
patch
|
blob
|
history
diff --git
a/ffpreview.py
b/ffpreview.py
index 169b5ed645f3663449351dad31984b9b6f618c1b..9b30d7086db92e3fbc1dd8cc60b221365594c936 100755
(executable)
--- a/
ffpreview.py
+++ b/
ffpreview.py
@@
-626,7
+626,7
@@
def play_video(filename, start='0', paused=False):
cmd = cmd.replace('%t', '"' + start + '"')
cmd = cmd.replace('%f', '"' + filename + '"')
eprint(cmd)
- Popen('exec ' + cmd
+ ' & disown'
, shell=True, start_new_session=True)
+ Popen('exec ' + cmd, shell=True, start_new_session=True)
# check validity of existing index file
def chk_idxfile():