Skip to content

Commit

Permalink
exex to spawn for bolt
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Feb 14, 2024
1 parent f05fddc commit 82ad13c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function run() {
`BOLT_MODE=${mode} BOLT_ALLOW_HTTP=${ allow_http} BOLT_DEFAULT_POLICY=${default_policy} $HOME/.local/bin/mitmdump --mode transparent --showhost --set block_global=false -s /home/mitmproxyuser/intercept.py &`
];
// core.info(runBoltCommand)
const cp = spawn(boltCommand, boltArgs);
const cp = spawn(boltCommand, boltArgs, {detached: true});

cp.stdout.on('data', (data) => {
core.info(`stdout: ${data}`);
Expand Down

0 comments on commit 82ad13c

Please sign in to comment.