• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Runtime.getRuntime().exec()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Runtime.getRuntime().exec()


  • Subject: Re: Runtime.getRuntime().exec()
  • From: David Teran <email@hidden>
  • Date: Thu, 18 Aug 2005 07:28:02 +0200

Please check ERXRuntimeUtilities.execute method from project wonder. Its simple to use and does all important stuff (like reading stdout and stderr in separated threads) and using timeouts (because an external process might 'hang')

http://cvs.sourceforge.net/viewcvs.py/wonder/Wonder/Common/Frameworks/ ERExtensions/Sources/er/extensions/ERXRuntimeUtilities.java? rev=1.11&view=markup

Please note that the current revision is 1.12 but today on thursday you will see 1.11 in the repository because of this ssh -> pserver delay from sourceforge.

regards, David

On 18.08.2005, at 02:46, George Domurot wrote:

I'm attempting to call an executable from within WO. The command works fine through the terminal, but not when called via WO. I can call basic commands like "ls" without issue from within WO. I'm thinking there may be a permission issue with executables.

Any pointers?

Thanks,
George

--
George Domurot
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cluster9.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Runtime.getRuntime().exec() (From: George Domurot <email@hidden>)

  • Prev by Date: Runtime.getRuntime().exec()
  • Next by Date: Re: Runtime.getRuntime().exec()
  • Previous by thread: Runtime.getRuntime().exec()
  • Next by thread: Re: Runtime.getRuntime().exec()
  • Index(es):
    • Date
    • Thread