restart arguments passed correctly in all situations
This commit is contained in:
parent
d0faf02150
commit
bf4704ce1d
2 changed files with 2 additions and 2 deletions
|
|
@ -2745,7 +2745,7 @@ namespace Server.Gumps
|
|||
InvokeCommand( "Save" );
|
||||
|
||||
if ( restart )
|
||||
Process.Start( Core.ExePath );
|
||||
Process.Start( Core.ExePath, Core.Arguments );
|
||||
|
||||
Core.Process.Kill();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ namespace Server.Misc
|
|||
|
||||
try
|
||||
{
|
||||
Process.Start( Core.ExePath );
|
||||
Process.Start( Core.ExePath, Core.Arguments );
|
||||
Console.WriteLine( "done" );
|
||||
|
||||
e.Close = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue