Replies: 3 comments 1 reply
-
You can work around this by wrapping your call into a pcall (which is documented in the Lua manual). For instance:
local success, value = pcall(pandoc.pipe, 'sh', {}, 'ls | grep none')
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@tarleb presumably this shouldn't raise an error; can the code be modified so it doesn't? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The command |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is an example
pandoc.pipe('sh', {}, 'ls | grep none')
It reports
Beta Was this translation helpful? Give feedback.
All reactions