Add "Kill Running" to Decrypt and Shrink

This commit is contained in:
prpr 2024-05-04 23:41:00 +01:00
parent 0b54972756
commit 26438fd501
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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