Skip to content

Commit 4f74671

Browse files
committed
:wtf
1 parent 75e4340 commit 4f74671

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/browserbase/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ def main(args: Optional[List[str]] = None) -> int:
1313

1414
# Execute the command
1515
try:
16-
result = subprocess.run(args, check=True)
16+
# Join arguments into a single string for shell execution
17+
cmd = " ".join(args)
18+
result = subprocess.run(cmd, shell=True, check=True)
1719
return result.returncode
1820
except subprocess.CalledProcessError as e:
1921
print(f"Command failed with exit code {e.returncode}")

0 commit comments

Comments
 (0)