Skip to content

Commit

Permalink
Add shell option
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsmfm committed May 21, 2024
1 parent 7236d06 commit a34f3d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration-test/src/bin/autify-with-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const autifyWithProxy = async (originalArgs: string[]) => {
AUTIFY_MOBILE_BASE_PATH: `http://127.0.0.1:${mobileProxy.port}/api/v1/`,
},
stdio: "inherit",
shell: true,
});
return new Promise<ProcStatus>((resolve, reject) => {
proc.on("close", async (code, signal) => {
Expand Down
1 change: 1 addition & 0 deletions src/autify/connect/client-manager/ClientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export class ClientManager {
...env,
AUTIFY_CONNECT_KEY: this.accessPoint.key,
},
shell: true,
});
this.childProcess.on("exit", (code, signal) => {
this.service.send("EXIT", { processExit: { code, signal } });
Expand Down

0 comments on commit a34f3d1

Please sign in to comment.