Use spawn rather than execute to check if a process is running.
Since some applications do run under another user than 'amnesia' and more privileges are required to see other users processes, the use of VM.spawn which executes commands in the VM as root is necessary over the use of VM.execute (which executes commands as 'amnesia').
Loading
Please register or sign in to comment