querysub 0.287.0 → 0.288.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -135,7 +135,7 @@ class MachineControllerBase {
|
|
|
135
135
|
gitRef: config.gitRef,
|
|
136
136
|
});
|
|
137
137
|
await runPromise("yarn install", { cwd: gitFolder });
|
|
138
|
-
await runPromise("bash machine-startup.sh", { cwd: os.homedir() });
|
|
138
|
+
await runPromise("bash machine-startup.sh", { cwd: os.homedir(), detach: true });
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
}
|
|
@@ -8,6 +8,7 @@ export async function runPromise(command: string, config?: {
|
|
|
8
8
|
quiet?: boolean;
|
|
9
9
|
// Never throw, just return the full output
|
|
10
10
|
nothrow?: boolean;
|
|
11
|
+
detach?: boolean;
|
|
11
12
|
}) {
|
|
12
13
|
return new Promise<string>((resolve, reject) => {
|
|
13
14
|
console.log(">" + blue(command));
|
|
@@ -15,6 +16,7 @@ export async function runPromise(command: string, config?: {
|
|
|
15
16
|
shell: true,
|
|
16
17
|
cwd: config?.cwd,
|
|
17
18
|
stdio: ["inherit", "pipe", "pipe"],
|
|
19
|
+
detached: config?.detach,
|
|
18
20
|
});
|
|
19
21
|
|
|
20
22
|
let fullOutput = "";
|