Message7360

Author fwierzbicki
Recipients fwierzbicki, wbrana
Date 2012-08-10.17:23:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344619431.33.0.689416535453.issue1942@psf.upfronthosting.co.za>
In-reply-to
Content
Hi wbrana - thanks for the patch! However, this patch is too OS specific. Getting a runtime and exec'ing "mkfifo' will work ok on most Unix systems, but the error handling and integration is not going to work. To see how we do these sorts of calls in Jython have a look at src/org/python/modules/posix/PosixModule.java

See for example how we implement stat and lstat and chmod for examples of the ways we do these things. In particular note that we are heavily using the jnr.posix project from the JRuby folks. If mkfifo is in jnr.posix then it should be straightforward. If not, it would need to be added to jnr.posix.
History
Date User Action Args
2012-08-10 17:23:51fwierzbickisetmessageid: <1344619431.33.0.689416535453.issue1942@psf.upfronthosting.co.za>
2012-08-10 17:23:51fwierzbickisetrecipients: + fwierzbicki, wbrana
2012-08-10 17:23:51fwierzbickilinkissue1942 messages
2012-08-10 17:23:50fwierzbickicreate