Velocity Reviews

Velocity Reviews (
-   Java (
-   -   Re: Why does this only work when I am running a shellscript (

Roedy Green 03-30-2013 03:35 PM

Re: Why does this only work when I am running a shellscript
On Sat, 30 Mar 2013 09:46:38 +0100, Cecil Westerhof <>
wrote, quoted or indirectly quoted someone who said :

>It hangs. It is not the command, because if I execute the command I
>print in the shell directly, there is no problem.


exec wants an executable, not a raw script command.
Roedy Green Canadian Mind Products
Motors make noise, and that tells you about the feelings and attitudes
that went into it. Something was more important than sensory pleasure --
nobody would invent a chair or dish that smelled bad or that made horrible
noises -- why were motors invented noisy? How could they possibly be
considered complete or successful inventions with this glaring defect?
Unless, of course, the aggressive, hostile, assaultive sound actually served
to express some impulse of the owner.
~ Philip Slater (born: 1927 age: 85)
The Wayward Gate: Science and the Supernatural

All times are GMT. The time now is 08:54 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.