You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to use JBang to run another JBang command (so I can do some processing of user input and delegate the result). It's quite hard right now as you have to try and scrape the generated command line from stderr, unless I'm missing something. E.g. this works for me:
If #1811 is merged we could implement a JBang launcher API by referring to System.getenv("JBANG_LAUNCH_CMD"). That might be cleaner. Would be good to have access to the original command line, or the options at least, but I'm not sure it would allow communication between the two processes.
I would like to be able to use JBang to run another JBang command (so I can do some processing of user input and delegate the result). It's quite hard right now as you have to try and scrape the generated command line from stderr, unless I'm missing something. E.g. this works for me:
but it's kind of scary, and you can't avoid the command also being printed to stdout.
The text was updated successfully, but these errors were encountered: