public NativeProgram ( string executable, string arguments ) : System | ||
executable | string | |
arguments | string | |
return | System |
public NativeProgram(string executable, string arguments)
{
ProcessStartInfo info = new ProcessStartInfo {
Arguments = arguments,
CreateNoWindow = true,
FileName = executable,
RedirectStandardError = true,
RedirectStandardOutput = true,
WorkingDirectory = Application.dataPath + "/..",
UseShellExecute = false
};
base._process.StartInfo = info;
}
}