jython on widows server 2012 r2

KengHeng <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <[email protected]>
Hi All, I've test a jython script below running at windows 2012 r2 env:

a)
import java,os
os.system("dir c:\\")
=> is working

b)
import java,os
os.system("dir c:\\ \> c:\\temp\\out.txt")

=>is not working
=>no error, but no output at c:\temp\out.txt



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.