Add "Kill Running" to Decrypt and Shrink
This commit is contained in:
parent
0b54972756
commit
26438fd501
@ -103,7 +103,7 @@ proc ::decrypt::dequeue {q ts} {
|
||||
|
||||
if {$mode eq "dlna"} {
|
||||
log " DLNA: $url" 0
|
||||
if {[catch {exec wget -O "$tmp/$bfile" $url} msg opts]} {
|
||||
if {[catch {system qexec wget -O "$tmp/$bfile" $url} msg opts]} {
|
||||
::auto::log "Wget error - $msg - $opts"
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@ proc ::decrypt::dequeue {q ts} {
|
||||
}
|
||||
|
||||
::auto::log "Using key ($key)" 2
|
||||
if {[catch {exec /mod/bin/stripts -@ $key $rfile "$tmp/[\
|
||||
if {[catch {system qexec /mod/bin/stripts -@ $key $rfile "$tmp/[\
|
||||
file rootname $bfile]" } msg opts]} {
|
||||
::auto::log "Decrypt error - $msg - $opts"
|
||||
system endop decrypt
|
||||
|
@ -57,7 +57,7 @@ proc ::shrink::dequeue {q ts} {
|
||||
log " Shrinking..." 0
|
||||
if {[catch {
|
||||
foreach line [split \
|
||||
[exec nice -n 19 /mod/bin/stripts -q $file $tmp/shrunk] \
|
||||
[system qexec nice -n 19 /mod/bin/stripts -q $file $tmp/shrunk] \
|
||||
"\n"] {
|
||||
set stats [string trim $line]
|
||||
log $stats 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user