Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9e44dd8

Browse files
committedDec 4, 2020
vscode: Document argument to extensionHostProcess
1 parent a72c642 commit 9e44dd8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎ci/dev/vscode.patch

+5-2
Original file line numberDiff line numberDiff line change
@@ -2509,10 +2509,10 @@ index 0000000000000000000000000000000000000000..a6c1f9f848f441b761397ba78e2fef60
25092509
+}
25102510
diff --git a/src/vs/server/node/connection.ts b/src/vs/server/node/connection.ts
25112511
new file mode 100644
2512-
index 0000000000000000000000000000000000000000..fb7999ee343ddfd5f225a5ef727c9e559059fb58
2512+
index 0000000000000000000000000000000000000000..6b7c5ffd2ef2f321e32b6ebf1e6ad93b9a99c80f
25132513
--- /dev/null
25142514
+++ b/src/vs/server/node/connection.ts
2515-
@@ -0,0 +1,189 @@
2515+
@@ -0,0 +1,192 @@
25162516
+import { field, Logger, logger } from '@coder/logger';
25172517
+import * as cp from 'child_process';
25182518
+import { VSBuffer } from 'vs/base/common/buffer';
@@ -2644,6 +2644,9 @@ index 0000000000000000000000000000000000000000..fb7999ee343ddfd5f225a5ef727c9e55
26442644
+ this.logger.trace('Spawning extension host...');
26452645
+ const proc = cp.fork(
26462646
+ FileAccess.asFileUri('bootstrap-fork', require).fsPath,
2647+
+ // While not technically necessary, makes it easier to tell which process
2648+
+ // bootstrap-fork is executing. Can also do pkill -f extensionHost
2649+
+ // Other spawns in the VS Code codebase behave similarly.
26472650
+ [ '--type=extensionHost' ],
26482651
+ {
26492652
+ env: {

0 commit comments

Comments
 (0)
Please sign in to comment.