There's nothing automatic, because we can't tell when a process is waiting for input. If you know what the prompt looks like, you may be able to use something like pexpect.replwrap to run it - though I don't know if that will work on Windows.
On 16 May 2017 at 13:22, Denis Akhiyarov <[email protected]> wrote: > Is there any way I can interact with command-line tools from the notebook? > For example scriptcs embeds itself in cmd as a REPL. > > In the notebook it is not interactive. In fact I cannot even kill the > scriptcs process () when it is called in the notebook: > > taskkill /f /im scriptcs* > ERROR: The process "scriptcs*" not found. > > > <https://lh3.googleusercontent.com/-fJZd1MqN1zE/WRrtznLu3HI/AAAAAAAAIdE/qWX7GrXV1lAxlFdfHga0NUnCWvK4o41tACLcB/s1600/scriptcs.PNG> > > > > <https://lh3.googleusercontent.com/-Rq8rupkxQRs/WRrugyHS2NI/AAAAAAAAIdM/qYD_vbMSe0U4FAehadSTRG2jMMc8DHjPwCLcB/s1600/scriptcs_notebook.PNG> > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/5bbeff4d-25f3-4e92-86aa-31a6d3c3636d%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/5bbeff4d-25f3-4e92-86aa-31a6d3c3636d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qg735SAWp_M%3D0SJWVd-skmzrj%2BoNTM%2BPq7_H49okAHG%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
