querysub 0.287.0 → 0.289.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
|
@@ -352,7 +352,7 @@ const runScreenCommand = measureWrap(async function runScreenCommand(config: {
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
console.log(green(`Renaming screen ${screenName} to for rolling interval ${config.rollingWindow} at ${new Date().toLocaleString()}`));
|
|
355
|
-
let rollingScreenName = screenName + "-rolling";
|
|
355
|
+
let rollingScreenName = screenName + "-rolling" + SCREEN_SUFFIX;
|
|
356
356
|
await runPromise(`${prefix}tmux rename-window -t ${screenName} ${rollingScreenName}`);
|
|
357
357
|
rollingScreens.set(rollingScreenName, screenName);
|
|
358
358
|
rollingKeepScreenAlive.set(rollingScreenName, {
|
|
@@ -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 = "";
|