• 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: Helge Städtler <email@hidden>
  • Date: Thu, 18 Aug 2005 08:29:13 +0200

hi george,

this may be a problem with

a) quotationmarks beeing garbled by the java-stuff during this operation
b) a too long inputstring (e.g. parameters for your call)

both problems can be solved very easily, by writing your command to some
temporary shell-file in e.g. /tmp/ and executing this shellscript instead of
calling the stuff directly.

i had this problem with some imagemagick-commands which can get pretty long
dependig on how many operations you apply.

regards,
helge



Am 18.08.2005 2:46 Uhr schrieb "George Domurot" unter
<email@hidden> / On 18.08.2005 2:46 Uhr "George Domurot"
wrote using address <email@hidden>:

> 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?

 _______________________________________________
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: Re: Runtime.getRuntime().exec()
  • Next by Date: Re: Runtime.getRuntime().exec()
  • Previous by thread: Re: Runtime.getRuntime().exec()
  • Next by thread: Re: Runtime.getRuntime().exec()
  • Index(es):
    • Date
    • Thread