Skip to content

Commit

Permalink
Make --open work for Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Apr 14, 2024
1 parent 63cc807 commit 406acec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kmake/src/Exporters/VisualStudioExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class VisualStudioExporter extends Exporter {
}

open(project: Project, to: string) {
child_process.spawn('start', [path.resolve(to, project.getSafeName() + '.sln')]);
child_process.spawn('start', [path.resolve(to, project.getSafeName() + '.sln')], {detached: true, shell: true});
}

async exportSolution(project: Project, from: string, to: string, platform: string, vrApi: any, options: any) {
Expand Down
2 changes: 1 addition & 1 deletion lib/kmake/Exporters/VisualStudioExporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/kmake/Exporters/VisualStudioExporter.js.map

Large diffs are not rendered by default.

0 comments on commit 406acec

Please sign in to comment.