flightplan icon indicating copy to clipboard operation
flightplan copied to clipboard

Return the fiber in `Flightplan.run()`

Open nikolay opened this issue 9 years ago • 3 comments

When using Flightplan programatically, there's no (simple?) way to wait for the run() method to finish, inspect the result (success or failure), or capture the output.

I'm trying to use Flightplan in a Slack chatbot and it's not really convenient to use it outside of the CLI interface, which seems to be the primary application of the project, and it's built mostly around it.

nikolay avatar Jun 16 '16 09:06 nikolay

Check this: https://github.com/pstadler/flightplan/issues/82#issuecomment-110849208

pstadler avatar Jun 16 '16 10:06 pstadler

@pstadler I already use this, but there's no way to wait for the task to finish, inspect the status, and capture the output.

nikolay avatar Jun 16 '16 17:06 nikolay

@pstadler Any suggestion how to handle this situation?

nikolay avatar Jun 21 '16 13:06 nikolay