Re: Problems with exec()



phuonganh.Ng@xxxxxxxxx wrote:
Hi,
I'm writing a Java GUI for the text parsing program called "Apple Pie
Parser", the program was written in Unix C and have an executable file
(console) for windows. My program's being written in Windows, so I
tried to called the Runtime exec() method to get that .exe file to run
and pass my input into it. But it seems like i couldn't call it, cuz
nothing came up, and even when i tested, tried to call "cmd.exe",
nothing happened either. I'm wondering if there's anything to solve
this.

Thanks.

Not to put you off but maybe this article will help you out:

When Runtime.exec() won't
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.



Relevant Pages

  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... > which you frequently use in your scripts and then transfer one ... but you don't have a so simple executable file format ... The entire Unix model was built to be as far away from ... In that case:) Shows how little I go on Windows now. ...
    (alt.lang.asm)
  • Problems with exec()
    ... I'm writing a Java GUI for the text parsing program called "Apple Pie ... the program was written in Unix C and have an executable file ... My program's being written in Windows, ...
    (comp.lang.java.programmer)