Prev: Tcl and LLVM
Next: system alert
From: lora on 12 May 2010 18:00 I'm using Expect 5.43 in Windows xp and Windows 2k and experiencing problems in spawning a cmd and running the java program from it. I'm able to just type java at the DOS prompt and get the usage information. But the below is not working. Anything wrong? I'm using wish 8.4. package require Expect 5.43 % spawn cmd.exe % send "java\r" % expect ".*" Sometimes I get write(spawn_id=]: broken pipe. It seems like it dies silently. I am able to set variables and cd to directories, but it doesn't work well when running executables. Thank you!
|
Pages: 1 Prev: Tcl and LLVM Next: system alert |