codify-plugin-lib 1.0.182-beta1 → 1.0.182-beta2
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.
|
@@ -35,7 +35,7 @@ export class SequentialPty {
|
|
|
35
35
|
// Initial terminal dimensions
|
|
36
36
|
const initialCols = process.stdout.columns ?? 80;
|
|
37
37
|
const initialRows = process.stdout.rows ?? 24;
|
|
38
|
-
const args = (options?.interactive ??
|
|
38
|
+
const args = (options?.interactive ?? false) ? ['-i', '-c', `"${cmd}"`] : ['-c', `"${cmd}"`];
|
|
39
39
|
// Run the command in a pty for interactivity
|
|
40
40
|
const mPty = pty.spawn(this.getDefaultShell(), args, {
|
|
41
41
|
...options,
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export class SequentialPty implements IPty {
|
|
|
46
46
|
const initialCols = process.stdout.columns ?? 80;
|
|
47
47
|
const initialRows = process.stdout.rows ?? 24;
|
|
48
48
|
|
|
49
|
-
const args = (options?.interactive ??
|
|
49
|
+
const args = (options?.interactive ?? false) ? ['-i', '-c', `"${cmd}"`] : ['-c', `"${cmd}"`]
|
|
50
50
|
|
|
51
51
|
// Run the command in a pty for interactivity
|
|
52
52
|
const mPty = pty.spawn(this.getDefaultShell(), args, {
|