mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 01:15:33 +00:00
Merge remote-tracking branch 'upstream/dev' into integration
This commit is contained in:
@@ -44,7 +44,8 @@ def find_and_activate_virtualenv():
|
||||
def run_command():
|
||||
# Execute the remaining arguments in the new environment
|
||||
if len(sys.argv) > 1:
|
||||
subprocess.run(sys.argv[1:], check=False, close_fds=False)
|
||||
result = subprocess.run(sys.argv[1:], check=False, close_fds=False)
|
||||
sys.exit(result.returncode)
|
||||
else:
|
||||
print(
|
||||
"No command provided to run in the virtual environment.",
|
||||
|
||||
Reference in New Issue
Block a user