Skip to content

Commit

Permalink
Update run.js
Browse files Browse the repository at this point in the history
  • Loading branch information
supechicken authored Nov 29, 2021
1 parent 0dff3c9 commit e3bb7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chrome.storage.local.get('debug', (debug) => {
chrome.terminalPrivate.sendInput(pid, 'shell\n');
chrome.terminalPrivate.sendInput(pid,
// prevent unexpected newline
`nohup ${cmd.start}\n`
`exec nohup bash <<_CMD_\n${cmd.start}\n_CMD_\n`
);
});

Expand Down

0 comments on commit e3bb7aa

Please sign in to comment.