Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record: skip whitespaces after shebang for scripts #1772

Closed
wants to merge 1 commit into from
Closed

record: skip whitespaces after shebang for scripts #1772

wants to merge 1 commit into from

Conversation

GabrielKimm
Copy link

Python tracing won't work when the shebang line has a space like below:

" #! /usr/bin/env python3 "

This patch makes uftrace to understand the above shebang as well.

Fixed: #1690
Signed-off-by: 0xGabriel [email protected]

" #! /usr/bin/env   python3    "

This patch makes uftrace to understand the above shebang as well.

Fixed: #1690
Signed-off-by: 0xGabriel <[email protected]>
@GabrielKimm GabrielKimm deleted the 0xGabriel branch July 23, 2023 14:32
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.

unable to identify shebang when it has initial spaces
1 participant