Can I run the batch file on UNIX? (Linux / Mac OS X)
I am looking for the interpreter to run the Windows Batch file on UNIX, like 'bash' for bash script, 'csh' for csh script, so 'XXX' for windows batch file.
I am developing a Java application.
- Development environment is on Mac OS X
- but target(primary executed) environment is on Windows.
- The applicaiton uses Windows batch file & executable.
- it generates *.bat to run the stub program (*.exe).
- So I want to write Unit-tests and prepare the stub program (*.exe as bash script),
- and want to run it on Mac OS X - not Windows.
- but, it does not mean that I want to execute (emulate) Windows binary (*.exe)... I only want to launch *.bat and let it to invoke test stub *.exe made with sh/perl/ruby.
...Any ideas?
(Related to) how i can execute windows batch file from UNIX-AIX?