– you have earned Featured Contributor Badge ![]()
Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!
Nice! thanks for the examples. Great help
I still have one problem: i have an ExternalEvaluate that does not return/keeps running. i want to ssh into a server, parse a logfile there and get de resulting values into mma:
data = Flatten@ ImportString@
Block[{Print},
ExternalEvaluate["Shell" -> "StandardOutput",
"ssh user@someserver some-commands-that-outputs-a-long-list-of-numbers"]];
this keep “running” forever. (running the same ssh outside mma does complete nicely)
even this does keep running forever:
ExternalEvaluate["Shell", "ssh user@someserver some-commands-that-outputs-a-list-of-numbers tmpfile"];
the tmpfile is created (with the data)
anyone any idea?
EDIT: FIXED IT: just adding the -n option to ssh makes it work:
ExternalEvaluate["Shell", "ssh -n user@someserver some-commands-that-outputs-a-list-of-numbers tmpfile"];
I’m having some difficulties with ExternalEvaluate on Windows 11 with Wolfram v15.0:
It looks like the kernel is having trouble running any external work with the default system shell; is there a way for me to further triage this?