05-04-2012, 12:00 AM
oh ok then you need to make it like this nikola
bool CheckGS;
CheckGS = CheckIfAProcessIsRunning("Gameserver");
if (CheckGS == false)
{
Process MyProcess = new Process();
MyProcess.StartInfo.FileName = "Server\\GameServer\\Gameserver.exe";
MyProcess.StartInfo.WorkingDirectory = "Server\\GameServer\\";
MyProcess.Start();
}

