Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <1D633A747CE4D311B89400D0B73EB16E02F1BBB2@liex01.liv.intuit.com> From: "Downey, Brian" To: "'cygwin AT cygwin DOT com'" Subject: Proper way to start dos/win executables? Date: Tue, 28 Aug 2001 09:18:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Hi everyone.. I have a question regarding the starting of a windows executable from within a cygwin shell script. The problem I'm having is allowing the passing of modifiers to the original .exe without using a windows .cmd or .bat file. For example I need to start a java runtime with these modifiers: java -Xms64m -Xmx64m ObUpdateGUI "ObUpdateGUI" Currently, the command resides in a windows .cmd file. When I attempt to call this from my script using this: exec $SCRIPT_DIR/start1.cmd & It simply runs java from within the cygwin shell and halts the processing of the script. I tested out calling "notepad.exe" directly without a .cmd file and this seems to work. Is there a better way to do this other than using .cmd files? Would it also prevent the script from halting upon execution? Thanks in advance! Brian Downey -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/