beakerx icon indicating copy to clipboard operation
beakerx copied to clipboard

executing shell commands in Scala kernel

Open gailmargolis76 opened this issue 6 years ago • 3 comments

How come something like !pwd to check present working directory works in python kernel but not scala kernel? How do i issue shell commands from the notebook whilst using scala kernel?

gailmargolis76 avatar Dec 05 '19 10:12 gailmargolis76

I have the same the question. Could this be implemented in some way?

In the meantime, using the %%bash cell magic works.

nshaud avatar Jan 09 '20 12:01 nshaud

Hi I've just added an example of executing shell commands, the result looks like below Executing_shell_commands2

please let us know if that works for you

jaroslawmalekcodete avatar Jan 09 '20 14:01 jaroslawmalekcodete

@jaroslawmalekcodete Thanks. I'd prefer something that works across various kernels (ergo the "!pwd" example) but this works too.

nshaud avatar Jan 09 '20 15:01 nshaud