Skip to content

Commit

Permalink
change mitim start code (#838)
Browse files Browse the repository at this point in the history
* fix 4272 not be closed

* version

---------

Co-authored-by: wujiasheng03 <[email protected]>
  • Loading branch information
noO0oOo0ob and wujiasheng03 authored Apr 22, 2024
1 parent 30f1992 commit 19e2d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lyrebird/mitm/proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def start_mitmdump(self, queue, config, logger, mitmdump_path):
mitmenv['PROXY_PORT'] = str(mock_port)
mitmenv['PROXY_FILTERS'] = json.dumps(config.get('proxy.filters', []))
logger.info('HTTP proxy server starting...')
subprocess.Popen(f'{str(mitmdump_path)} {" ".join(mitm_arguments)}', shell=True, env=mitmenv)
subprocess.Popen([str(mitmdump_path)]+mitm_arguments, env=mitmenv)
is_mitm_start = self.wait_for_mitm_start(config, logger)
if is_mitm_start:
self.publish_init_status(queue, 'READY')
Expand Down
2 changes: 1 addition & 1 deletion lyrebird/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IVERSION = (2, 26, 0)
IVERSION = (2, 26, 1)
VERSION = ".".join(str(i) for i in IVERSION)
LYREBIRD = "Lyrebird " + VERSION

0 comments on commit 19e2d71

Please sign in to comment.