Run shell commands
See original GitHub issueIPython kernel provides a way to run shell commands in code blocks https://jakevdp.github.io/PythonDataScienceHandbook/01.05-ipython-and-shell-commands.html#Shell-Commands-in-IPython
!echo "Hello"
I run the jupyter notebook as docker run --rm -it -p 8888:8888 -p 4040:4040 -p 9001:9001 -e JUPYTER_ENABLE_LAB=yes -v ${PWD}:/home/jovyan/work pavolloffay/trace-dsl:latest
. The
command is run in a directory with a library so it is injected into the container. Then I do changes to the library in local IDE running on the host and to load the changes in the notebook I have to run maven install.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10 (2 by maintainers)
Top Results From Across the Web
How To Execute a Command with a Shell Script in Linux
Creating and Running a Basic Shell Script · Press ESC · Type : (colon character) · Type wq · Press ENTER.
Read more >How To Run the .sh File Shell Script In Linux / UNIX - nixCraft
GUI method to run .sh file · Select the file using mouse. · Right-click on the file. · Choose Properties:.
Read more >How do I run .sh scripts? - command line - Ask Ubuntu
Open terminal · Open the folder containing the .sh file · Drag and drop the file into the terminal window · The file's...
Read more >Running commands in the shell - PowerShell | Microsoft Learn
The PowerShell call operator ( & ) lets you run commands that are stored in variables and represented by strings or script blocks....
Read more >How to Run a Shell Command in Java - Baeldung
How to Run a Shell Command in Java · Shell commands are OS-dependent as their behavior differs across systems. · NOTE: JDK 18...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I submitted a PR: https://github.com/SpencerPark/IJava/pull/78
I don’t mind how it is done. I just need this feature, It can be with
%sh
or other alternatives.