【发布时间】:2011-07-12 10:09:06
【问题描述】:
//
// 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; }
如果我们生成一个新进程,我们什么时候需要将 UseShellExecute 设置为 True?
【问题讨论】: