| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Matthew Stanton <stantonmatthewj@gmail.com>
There was a problem hiding this comment.
Reviewed current head 0208d08 with the shell-execution boundary in mind.
Passing the Python executable and arguments separately through execFile/execFileSync fixes the path-with-spaces bug from #181 and removes shell interpretation from checkSyntaxFile(), getVersion(), and getVersionSync() without changing their observable stdout/stderr contracts.
The focused regressions cover both spaced script paths and spaced executable paths. LGTM.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #181.
Why
The previous implementation built commands like ${pythonPath} --version. That breaks when the Python executable path contains spaces and also leaves these helpers dependent on shell parsing. Passing the executable and arguments separately avoids quoting issues.
Verification