CreateProcess(m_path, NULL, NULL,NULL, FALSE, NULL,NULL, NULL,&si,&pi);
第5个参数为FAUSE表示不继承调用进程的句柄。
- bInheritHandles
- [in] Indicates whether the new process inherits handles from the calling process. If TRUE, each inheritable open handle in the calling process is inherited by the new process. Inherited handles have the same value and access privileges as the original handles.
posted on 2012-12-11 11:20
寻步 阅读(309)
评论(0) 编辑 收藏 引用 所属分类:
MFC