1
$\begingroup$

Using RemoteConnect and RemoteRunProcess I can create a remote session such that successive commands are done in the same terminal session. I can for instance change directory with RemoteRunProcess and then later do ls from that directory. It is probably a really trivial question but how do I do the same locally. RunProcess does not seem to work the same. (Both in that I can't create a session with memory and in that it does not seem to accept complex commands.)

$\endgroup$
2
  • $\begingroup$ You would change directory with Directory[] and list files with FileNames[]. I think I'm missing something in your question. $\endgroup$
    – Szabolcs
    Apr 24, 2019 at 9:53
  • $\begingroup$ I think I understand now. I think you want StartProcess. $\endgroup$
    – Szabolcs
    Apr 24, 2019 at 9:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.