Default system call method does not work on Cygwin
The default system call method, that is SUBPROCESS
, results in the following error on Cygwin:
OSError: [Errno 11] Resource temporarily unavailable
The two other system call methods works fine. I suggest to use OS_SYSTEM as the default system call method on Windows.
Comments (5)
-
-
reporter @johanhake - I don't think so. The reason
SUBPROCESS
was chosen as the default was apparently that it does not use temp files (see pull request #2).Maybe @blechta has any comments on this.
-
Yes, exactly. A communication which
SUBPROCESS
does using pipes is done using temp files byOS_SYSTEM
. It is hardly a drawback as whole JIT-compilator apparatus uses filesystem and key aspect for scalability is that only one process touches filesystem during JIT-ing, which was addressed by#16.Technical detail:
OS_SYSTEM
does something likecmd = command + " > " + tempfile + " 2>&1" os.system(cmd)
which I'm not sure how it is portable and whether it is at least POSIX-compliant.
-
reporter - changed status to resolved
Change default system call method from SUBPROCESS to OS_SYSTEM (fixes issue
#18).→ <<cset d899234579a9>>
-
- removed milestone
Removing milestone: 1.4 (automated comment)
- Log in to comment
Are there any drawbacks for using that as default for all systems? For example is that the one I am using on abel.uio.no.