mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-26 12:15:26 +00:00
vscode: Document argument to extensionHostProcess
This commit is contained in:
parent
a72c642125
commit
9e44dd81ee
@ -2509,10 +2509,10 @@ index 0000000000000000000000000000000000000000..a6c1f9f848f441b761397ba78e2fef60
|
|||||||
+}
|
+}
|
||||||
diff --git a/src/vs/server/node/connection.ts b/src/vs/server/node/connection.ts
|
diff --git a/src/vs/server/node/connection.ts b/src/vs/server/node/connection.ts
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..fb7999ee343ddfd5f225a5ef727c9e559059fb58
|
index 0000000000000000000000000000000000000000..6b7c5ffd2ef2f321e32b6ebf1e6ad93b9a99c80f
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/vs/server/node/connection.ts
|
+++ b/src/vs/server/node/connection.ts
|
||||||
@@ -0,0 +1,189 @@
|
@@ -0,0 +1,192 @@
|
||||||
+import { field, Logger, logger } from '@coder/logger';
|
+import { field, Logger, logger } from '@coder/logger';
|
||||||
+import * as cp from 'child_process';
|
+import * as cp from 'child_process';
|
||||||
+import { VSBuffer } from 'vs/base/common/buffer';
|
+import { VSBuffer } from 'vs/base/common/buffer';
|
||||||
@ -2644,6 +2644,9 @@ index 0000000000000000000000000000000000000000..fb7999ee343ddfd5f225a5ef727c9e55
|
|||||||
+ this.logger.trace('Spawning extension host...');
|
+ this.logger.trace('Spawning extension host...');
|
||||||
+ const proc = cp.fork(
|
+ const proc = cp.fork(
|
||||||
+ FileAccess.asFileUri('bootstrap-fork', require).fsPath,
|
+ FileAccess.asFileUri('bootstrap-fork', require).fsPath,
|
||||||
|
+ // While not technically necessary, makes it easier to tell which process
|
||||||
|
+ // bootstrap-fork is executing. Can also do pkill -f extensionHost
|
||||||
|
+ // Other spawns in the VS Code codebase behave similarly.
|
||||||
+ [ '--type=extensionHost' ],
|
+ [ '--type=extensionHost' ],
|
||||||
+ {
|
+ {
|
||||||
+ env: {
|
+ env: {
|
||||||
|
Loading…
Reference in New Issue
Block a user