You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add shlex to correctly parse executable commands with spaces (#1855)
The `subprocess.run` command was using `.split()` which does not handle
quoted paths with spaces correctly. This would cause a
`FileNotFoundError` when the path to the executable contained spaces.
This change replaces `.split()` with `shlex.split()` to correctly parse
the command string.
A test case has been added to verify the fix and prevent regressions.
This was reported in b/237606033
Co-authored-by: Daniel Sanche <d.sanche14@gmail.com>
0 commit comments