Skip to content

Commit

Permalink
fix kaios sim run command
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius456 committed Mar 12, 2024
1 parent 526b1af commit f02b9bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/sdk-kaios/src/deviceManager.ts
Expand Up @@ -40,8 +40,8 @@ export const launchKaiOSSimulator = async (target: string | boolean) => {
return Promise.reject(`Can't find simulator at path: ${simulatorPath}`);
}

await executeAsync(
`(cd ${kaiosSdkPath}/${target}/kaiosrt && ${simulatorPath} )`,
ExecOptionsPresets.NO_SPINNER_FULL_ERROR_SUMMARY
);
await executeAsync(simulatorPath, {
cwd: `${kaiosSdkPath}/${target}/kaiosrt`,
...ExecOptionsPresets.NO_SPINNER_FULL_ERROR_SUMMARY,
});
};

0 comments on commit f02b9bd

Please sign in to comment.