Message7360
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. |
|
Date |
User |
Action |
Args |
2012-08-10 17:23:51 | fwierzbicki | set | messageid: <1344619431.33.0.689416535453.issue1942@psf.upfronthosting.co.za> |
2012-08-10 17:23:51 | fwierzbicki | set | recipients:
+ fwierzbicki, wbrana |
2012-08-10 17:23:51 | fwierzbicki | link | issue1942 messages |
2012-08-10 17:23:50 | fwierzbicki | create | |
|