Skip to content

Regarding helics_cli terminal #2224

Answered by trevorhardy
pratyush0101 asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, this is a good question. I'm not a Jupyter notebook user but I suspect there is a way that you can run a system or shell command. Let me look really quick...

From here, it looks like Jupyter has a magic system command to let you do things like this.

%system
The %system command lets us execute Unix shell commands in the jupyter notebook. We can execute any single line Unix shell command from the notebook. We have explained below the usage of the command with two simple examples.

%system echo 'Hello World'
['Hello World']

So you should be able to do something like:

%system helics run --path=./<helics_cli runner JSON>

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@kdheepak
Comment options

@pratyush0101
Comment options

@kdheepak
Comment options

@pratyush0101
Comment options

@trevorhardy
Comment options

Answer selected by trevorhardy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants