Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5671

Re: runtime.exec problems

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: runtime.exec problems
Date Sat, 25 Jun 2011 13:54:52 -0700
Organization Canadian Mind Products
Lines 25
Message-ID <doic071epqukvtinchvi80rts6n71g7ct3@4ax.com> (permalink)
References <fe03d675-dca9-40aa-ad12-99dd0cc75cfb@fj19g2000vbb.googlegroups.com>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5671

Show key headers only | View raw


On Sat, 25 Jun 2011 10:58:27 -0700 (PDT), Memo <gamalieli@hotmail.com>
wrote, quoted or indirectly quoted someone who said :

>I can't get runtime.exec to execute a program in Java. I am trying to
>execute a bat file. I read that in order to run bat files as opposed
>to .exe files the runtime command has to include "cmd /c start" before
>the name of the bat file. I have run bat files successfully this way
>before.

see http://mindprod.com/jgloss/exec.html
for the standard gotchas.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
One of the great annoyances in programming derives from the irregularity
of English spelling especially when you have international teams.  
I want to find a method or variable, but I don't know precisely
how its is spelled or worded. English is only approximately phonetic.  
Letters are randomly doubled.  The dictionary often lists variant spellings.
British, Canadian and American spellings differ.I would like to see an 
experiment where variable names were spelled in a simplified English, where 
there were no double letters.I also think you could add a number of rules 
about composing variable names so that a variable name for something would
be highly predictable. You would also need automated enforcement of the 
rules as well as possible.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

runtime.exec problems Memo <gamalieli@hotmail.com> - 2011-06-25 10:58 -0700
  Re: runtime.exec problems Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-06-25 16:09 -0400
  Re: runtime.exec problems Patricia Shanahan <pats@acm.org> - 2011-06-25 13:38 -0700
  Re: runtime.exec problems Roedy Green <see_website@mindprod.com.invalid> - 2011-06-25 13:54 -0700

csiph-web