my $fullcmd="nohup sh -c \"($cmd)\" &"; debug(DWRN, "Process is not running, attempting to restart using '$fullcmd'\n"); qx/$fullcmd/; debug(DDBG, "Process is restarted, next poll in $interval seconds\n");