Skip to content

Commit

Permalink
fix: fixed aws ssm start-session on linux systems using gnome-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvilla committed Sep 29, 2021
1 parent af7ce4c commit b7d9d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/execute.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ExecuteService extends NativeService {
} else if (this.process.platform === 'win32') {
return this.execute(`start cmd /k ${command}`, env);
} else {
return this.execute(`gnome-terminal -- sh -c "${command}; bash"`, env);
return this.execute(`gnome-terminal -- sh -c "${command}; bash"`, Object.assign(this.process.env, env));
}
}
}

0 comments on commit b7d9d0b

Please sign in to comment.