From: Silvio Rhatto Date: Mon, 11 Jun 2018 18:03:13 +0000 (-0300) Subject: Shell: disown fix X-Git-Tag: 0.1.0~253 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=088f12e8d4b201dae20de47974b8b2c2f1cabbc0;p=kvmx.git Shell: disown fix --- diff --git a/kvmx b/kvmx index 35944c7..9650d01 100755 --- a/kvmx +++ b/kvmx @@ -1741,15 +1741,15 @@ function kvmx_shell { # Process command, disown version, stdout are preserved $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & - disown + disown -h fi else # Process command, nohup version - nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} + #nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} # Process command, disown version $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & - disown + disown -h fi fi done