Skip to content

Commit 8081034

Browse files
committed
test: run CLI helper through Node
1 parent 21ee883 commit 8081034

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/rstack/tests/helpers

packages/rstack/tests/helpers/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const execCli: ExecCli = (command, options = {}) => {
2525
const { logHelper, ...execOptions } = options;
2626

2727
try {
28-
const output = execSync(`${RSTACK_BIN_PATH} ${command}`, {
28+
const output = execSync(`"${process.execPath}" "${RSTACK_BIN_PATH}" ${command}`, {
2929
stdio: 'pipe',
3030
...execOptions,
3131
env: {

0 commit comments

Comments
 (0)