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.)

  • $\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 '19 at 9:53
  • $\begingroup$ I think I understand now. I think you want StartProcess. $\endgroup$ – Szabolcs Apr 24 '19 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.