Help Please.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help Please.

tchris22
Hi,
How should I call a Unix shell script such
as "c:\devt\scripts\kornshell\MyShell.sh 20051025"
or "c:\devt\scripts\kornshell\MyShell.bat 20051025" => windows

from a beanshell script such as "runShell.bsh"? from Unix and Windows?
where 20051025 is the argument of the script
I tried this in runShell.bsh:
exec("c:/devt/scripts/kornshell/MyShell.sh 20051025");

doesn't seem to work on both plateform.
Thanks.




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Beanshell-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beanshell-users