changed tasklist | findstr на tasklist
This commit is contained in:
parent
a53e904f7b
commit
a672434909
1 changed files with 1 additions and 3 deletions
|
@ -76,9 +76,7 @@ function raiseInstallerWindow()
|
|||
function appProcessIsRunning()
|
||||
{
|
||||
if (runningOnWindows()) {
|
||||
var cmdArgs = ["| findstr " + appExecutableFileName()];
|
||||
var result = installer.execute("tasklist", cmdArgs);
|
||||
|
||||
var result = installer.execute("tasklist");
|
||||
if ( Number(result[1]) === 0 ) {
|
||||
if (result[0].indexOf(appExecutableFileName()) !== -1) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue