Well, .exe is an entirely different concept than .app. .app is nothing
but a package, a directory if you will, so passing parameters to it
isn't actually passing it to the executable but to the whole package.
So the actual UNIX executable is really located inside that package.
Let's say you have an app called Foo.app, then your executable would
be in Foo.app/Contents/MacOS/Foo. So you may wanna try to pass your
parameters directly to that and see if that works.
Hope this helps.
vladimir.olexa@gmail.com schrieb:
> Well, .exe is an entirely different concept than .app. .app is nothing
> but a package, a directory if you will, so passing parameters to it
[quoted text clipped - 3 lines]
> be in Foo.app/Contents/MacOS/Foo. So you may wanna try to pass your
> parameters directly to that and see if that works.
this doesn't work ...
if I start Foo.app/Contents/MacOS/Foo directly the program will just crash.
may be I can use
open -a Foo.app parms somehow ?
> Hope this helps.
>
[quoted text clipped - 20 lines]
>>
>> Christian
Christian - 15 Mar 2007 19:41 GMT
Christian schrieb:
> vladimir.olexa@gmail.com schrieb:
>> Well, .exe is an entirely different concept than .app. .app is nothing
[quoted text clipped - 10 lines]
> may be I can use
> open -a Foo.app parms somehow ?
open Foo.app
does not work with process builder, but with Runtime.getRuntime().exec()
though I seem to be unable to pass arguments to the program that way
which is crucial.
someone a hint?
I just need to start that application with some arguments in a
subprocess... so I know when the app terminates.
thats something that simply must be easy ... shame on me I havend
figured it out by now ...
but I am simply clueless..
please help.
>> Hope this helps.
>>
[quoted text clipped - 20 lines]
>>>
>>> Christian