quitando basura del index
[VSoRC/.git] / node_modules / node-pty / src / conpty_console_list_agent.ts
diff --git a/node_modules/node-pty/src/conpty_console_list_agent.ts b/node_modules/node-pty/src/conpty_console_list_agent.ts
deleted file mode 100644 (file)
index 2aec542..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Copyright (c) 2019, Microsoft Corporation (MIT License).
- *
- * This module fetches the console process list for a particular PID. It must be
- * called from a different process (child_process.fork) as there can only be a
- * single console attached to a process.
- */
-
-let getConsoleProcessList: any;
-try {
-  getConsoleProcessList = require('../build/Release/conpty_console_list.node').getConsoleProcessList;
-} catch (err) {
-  getConsoleProcessList = require('../build/Debug/conpty_console_list.node').getConsoleProcessList;
-}
-
-const shellPid = parseInt(process.argv[2], 10);
-const consoleProcessList = getConsoleProcessList(shellPid);
-process.send({ consoleProcessList });
-process.exit(0);