提交 6e67040b 编写于 作者: A Amy Qiu

Set saved process to null

上级 f1750579
......@@ -55,6 +55,7 @@ export class WindowsShellHelper {
private getChildProcessDetails(pid: number): TPromise<{ executable: string, pid: number }[]> {
return new TPromise((resolve, reject) => {
this._wmicProcess = cp.execFile('wmic.exe', ['process', 'where', `parentProcessId=${pid}`, 'get', 'ExecutablePath,ProcessId'], (err, stdout, stderr) => {
this._wmicProcess = null;
if (this._isDisposed) {
reject(null);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册