ProcessStartInfo.StartDetached 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
프로세스를 분리된 방식으로 시작해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다.
public:
property bool StartDetached { bool get(); void set(bool value); };
public bool StartDetached { get; set; }
member this.StartDetached : bool with get, set
Public Property StartDetached As Boolean
속성 값
true부모에서 분리된 프로세스를 시작하려면 다음을 수행합니다. 그렇지 않으면 . false 기본값은 false입니다.
설명
, , 또는 .를 사용하여 사용자가 명시적으로 구성하지 않는 한 표준 입력, 출력 및 오류가 null 디바이스(Windows, Unix의 경우)로 StandardInputHandleStandardErrorHandleRedirectStandardOutputStandardOutputHandleRedirectStandardInputRedirectStandardError리디렉션되는 새 분리된 프로세스를 시작합니다. /dev/nullNUL
Windows 프로세스는 DETACHED_PROCESS 플래그로 시작됩니다.
Unix에서 프로세스는 새 세션의 리더로 시작됩니다.
이 속성은 다음으로 설정된 true상태에서 UseShellExecute 함께 사용할 수 없습니다.