Can't stop a sandbox on Mac/Linux
Closed this issue · 0 comments
alansemenov commented
This happens at least on Mac, but maybe other platforms as well.
- If you start a sandbox in normal mode (
sandbox start
) then.enonic
will be updated with correct info on the running process but executingsandbox stop
(in a different terminal tab) will result in:
% enonic sandbox stop
Could not stop process 60330 no such process
Even though the sandbox is running and there's a process with this id.
- If you start a sandbox in a detached mode (
sandbox start -d
) then again.enonic
will be updated with correct info on the running process but executingsandbox stop
(in the same terminal tab) will result in:
% enonic sandbox stop
No sandbox is currently running.
What's even worse here is that in this case running
and PID
properties inside .enonic
will be reset, even though sandbox is actually not stopped!