diff --git a/lib/explorer.js b/lib/explorer.js index e9d30e6..cec131f 100644 --- a/lib/explorer.js +++ b/lib/explorer.js @@ -1405,7 +1405,7 @@ module.exports = { // run a cmd that will determine if the lock should still be active try { - var cmdResult = execSync('ps -p `cat ' + pidFile + '` > /dev/null'); + var cmdResult = execSync('ps -p `cat "' + pidFile + '"` > /dev/null'); } catch (err) { // if an error occurs, the process is NOT running and therefore the lock should be deactivated deactivateLock = true;