-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
"--filter" doesn't use shebang in executable filters #1389
Comments
A quick look at the code suggests that it's because |
Yep - we should also check directly to see if the file is executable. +++ Jesse Rosenthal [Jun 30 14 12:11 ]:
|
Actually,
Seems to build and work. |
Presumably as a result of 3fe6b57, pandoc now prefers the default version of program to that in the shebang. For example, in arch,
python
meanspython3
, so I put#!/usr/bin/env python2
at the top of my executable. But if invoked with--filter
, it still runspython
.Example, let's call it "filter.py":
using development pandoc:
It should use the shebang in executables.
The text was updated successfully, but these errors were encountered: