added TODO for restart command
This commit is contained in:
parent
accf5617e2
commit
ab12cb7da1
@ -265,6 +265,7 @@ class ManiaControl implements CommandListener {
|
|||||||
exec($command);
|
exec($command);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
// TODO: validate restart on windows
|
||||||
$command = 'start /B ' . escapeshellarg(ManiaControlDir . '/ManiaControl.bat');
|
$command = 'start /B ' . escapeshellarg(ManiaControlDir . '/ManiaControl.bat');
|
||||||
pclose(popen($command, 'r'));
|
pclose(popen($command, 'r'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user