Skip to content

Fix crash when running with -s|--shell#87

Merged
c-w merged 4 commits into
masterfrom
fix-shell
Aug 8, 2020
Merged

Fix crash when running with -s|--shell#87
c-w merged 4 commits into
masterfrom
fix-shell

Conversation

@c-w

@c-w c-w commented Aug 8, 2020

Copy link
Copy Markdown
Owner

When running ghp-import with -s or --shell, the first subprocess call fails as the git sub-command to run isn't recognized. This seems to be caused by the code not respecting the documentation for subprocess.Popen which mentions that when shell=True is passed as an argument, the command should be passed as a string instead of an array.

@c-w c-w linked an issue Aug 8, 2020 that may be closed by this pull request
@c-w
c-w merged commit 777bcb4 into master Aug 8, 2020
@c-w
c-w deleted the fix-shell branch August 8, 2020 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Execute on shell to recoginze

1 participant