[sage-devel] Re: Working directories for interfaces

2015-10-29 Thread Volker Braun
Just to spell out the obvious: By the principle of least surprise the working directory should always be the same if possible. On Wednesday, October 28, 2015 at 1:28:15 AM UTC+1, Andrey Novoseltsev wrote: > > I have ran > > import subprocess > print subprocess.check_output("pwd") > print r.eva

[sage-devel] Re: Working directories for interfaces

2015-10-27 Thread Andrey Novoseltsev
Things get even more interesting when adding print r.path() which is different from the other two in SageNB. For cells and clouds, perhaps the issue is in forking from already started processes? Although my impression was that all pexpect interfaces are closed in this case and will be recreate