Re: [Pydev-code] Running external scripts from Jython
Brought to you by:
fabioz
|
From: Anders D. <an...@da...> - 2007-07-15 08:35:28
|
On 7/15/07, Anders Dahnielson <an...@da...> wrote: > > > On 7/15/07, Anders Dahnielson <an...@da...> wrote: > > > Reacting to save events and getting all the necessary paths was fairly > > easy (for a Jython and Eclipse n00b) but I hit trouble when I tried to save > > myself some coding and instead leverage an existing test runner "nose" [1]. > > It simply do not run under Jython (dang!). So my brilliant plan B (I > > thought) was to run it under CPython using the os.command module. Turns > > out that Jython doesn't have a popen() (dang again!). > > > I just realized that running tests under Jython isn't what I want. So, > plan B is the new plan A. > Of course! I'll just use the standard Java call java.lang.Runtime instead (he said after googling). I have to keep reminding myself that Jython isn't Python... -- Anders Dahnielson <an...@da...> |