File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class EmmyLaunchDebugSession extends EmmyDebugSession {
7272 private async detectArch ( ) : Promise < WinArch > {
7373 const cwd = `${ this . extensionPath } /debugger/emmy/windows/x64` ;
7474 const args = [
75- ' emmy_tool.exe' ,
75+ ` ${ this . extensionPath } /debugger/emmy/windows/x86/ emmy_tool.exe` ,
7676 'arch_file' ,
7777 `\"${ this . program } \"`
7878 ] ;
@@ -110,7 +110,7 @@ export class EmmyLaunchDebugSession extends EmmyDebugSession {
110110
111111 args . push ( ...( < string [ ] > this . arguments ) ) ;
112112 return new Promise ( ( r , c ) => {
113- const childProcess = cp . spawn ( `emmy_tool.exe` , args , {
113+ const childProcess = cp . spawn ( `${ cwd } / emmy_tool.exe` , args , {
114114 cwd : cwd ,
115115 windowsHide : false
116116 } ) ;
@@ -156,7 +156,7 @@ export class EmmyLaunchDebugSession extends EmmyDebugSession {
156156
157157 args . push ( ...( < string [ ] > this . arguments ) ) ;
158158 return new Promise ( ( r , c ) => {
159- const childProcess = cp . spawn ( `emmy_tool.exe` , args , {
159+ const childProcess = cp . spawn ( `${ cwd } / emmy_tool.exe` , args , {
160160 cwd : cwd ,
161161 windowsHide : false
162162 } ) ;
You can’t perform that action at this time.
0 commit comments