trungleduc / jupyter_app_launcher

A JupyterLab extension to create custom launcher entries.
https://jupyter-app-launcher.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
53 stars 11 forks source link

Run bash script with launcher entry #25

Closed TidbitSoftware closed 1 year ago

TidbitSoftware commented 1 year ago

Is there a known way to use your extension to run a bash script with a launcher entry?

trungleduc commented 1 year ago

Hi, it's not possible out of the box. You can create a simple python server using http.server that runs your bash script and serves the output of the script. Then you can use the local-server launcher to run your bash script and get the result in JupyterLab