05.01.2013, 16:39
Quote:
Tip for schurman: set the compiler's working directory (System.Process.ProcessInfo.WorkingDirectory) to the .pwn file's directory.
here's a snippet of mine you can use: Code:
System.IO.FileInfo wd = new System.IO.FileInfo("C:\Directory\To\Pawnscript.pwn"); // returns "C:\Directory\To\" clsProcess.StartInfo.WorkingDirectory = wd.Directory.FullName; |