Fix for installs with spaces in the absolute path
-If the explorer is installed to a directory that has a space character somewhere in the absolute path, the locking mechanism will not work correctly on non-windows computers and will cause undesired behavior without this fix
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user