Well, yes and no. Exec on NT and 95 is really a mess. The problem
is not with the Jacl code but with the Sun implementation of
java.lang.Runtime.exec(). I assume from the error you are getting
that you are running JDK 1.1. JDK 1.2 fixes some of these exec problems
but also adds other problems so that is not a perfect fix. I have
been able to run the exec tests cases on a NT box here in the lab
but NT is really strange and the tests do not always work. It took
a lot of testing and debugging just to get the jacl exec to the point
it is now (take a look at the Jacl exec source, it is ugly). To be
honest, I do not think I am going to be spending any more time
getting exec working under NT or 95. If anyone else wants to work
on the problem I would be happy to give out my test cases.

Mo DeJong
gimme multimedia group

On Fri, 19 Mar 1999, Sachin Thatte wrote:

> 
> Hi,
> 
> Is the exec command on JACL shell supposed to work? It gives me error
> when I try to run it. I am using JACL 1.1.1 on NT. Following are
> examples. Any help is appreciated.
> 
> 
> % exec c:/WINNT/SYSTEM32/CMD.EXE
> couldn't execute "c:/WINNT/SYSTEM32/CMD.EXE": no such file or directory
> % exec cmd
> couldn't execute "cmd": no such file or directory
> % exec cmd.exe
> couldn't execute "cmd.exe": no such file or directory
> % exec cmd dir
> couldn't execute "cmd": no such file or directory
> 
> 
> Thanks,
> 
> -Sachin
> 
> 
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by WebNet Technologies.
> To subscribe:    send mail to [EMAIL PROTECTED]  
>                  with the word SUBSCRIBE as the subject.
> To unsubscribe:  send mail to [EMAIL PROTECTED] 
>                  with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'. 
> A list archive is at: http://www.findmail.com/listsaver/tcldallas/
> 

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to