コード例 #1
0
ファイル: Launcher.cs プロジェクト: emtees/old-code
		static ProcessStartInfo PrepareInfo (BinaryInfo info, string extra_args, 
						     IBuildContext ctxt) {
			ProcessStartInfo si = info.MakeInfo (ctxt);

			if (extra_args != null)
				si.Arguments += " " + extra_args;

			// tools should not spew to console or want user input

			si.UseShellExecute = false;
			si.RedirectStandardInput = true;
			si.RedirectStandardOutput = true;
			si.RedirectStandardError = true;

			return si;
		}
コード例 #2
0
        static ProcessStartInfo PrepareInfo(BinaryInfo info, string extra_args,
                                            IBuildContext ctxt)
        {
            ProcessStartInfo si = info.MakeInfo(ctxt);

            if (extra_args != null)
            {
                si.Arguments += " " + extra_args;
            }

            // tools should not spew to console or want user input

            si.UseShellExecute        = false;
            si.RedirectStandardInput  = true;
            si.RedirectStandardOutput = true;
            si.RedirectStandardError  = true;

            return(si);
        }