in reply to can't read before closing the writer in open2
Another question: how would sourcing be done in the case of using Expect? Before spawning the program I am trying to run, I need to export/set/etc. some environment variables so I use a source file. How should I proceed?
|
|---|