//
// Summary:
// Gets or sets a value indicating whether to use the operating system shell
// to start the process.
//
// Returns:
// true to use the shell when starting the process; otherwise, the process is
// created directly from the executable file. The default is true.
[DefaultValue(true)]
[MonitoringDescription("ProcessUseShellExecute")]
[NotifyParentProperty(true)]
public bool UseShellExecute { get; set; }
Se generiamo un nuovo processo, quando dobbiamo impostare UseShellExecute su True?
processStartInfo.RedirectStandardOutput=true, mi sembra che puoi ancora reindirizzare l'output standard facendoprocess.Arguments= "cmd /c dir >c:\\crp\\a.a". Allo stesso modo da una finestra di dialogo Esegui puoi farecmd /c dir>c:\crp\a.a