On Tue, 21 Jun 2005, Antal wrote:
> in linux I can't use the exec for executing a program with more than one
> parameter.
> I tried to supply more than a parameter separeted with whitespace, but
> it's not reliable, since the program is treating it as just one parameter
>
> so I can't pass opti
> in linux I can't use the exec for executing a program with more than one
> parameter.
"the exce" ? Which exec? Can you provide an example?
> I tried to supply more than a parameter separeted with whitespace, but
> it's not reliable, since the program is treating it as just one parameter
>
> so
> a single parameter when executing a file
> let's change the above example to
> cat ~/anyfile1 ~/anyfile2
> or just:
> dir /p c:
>
> or anything else, which needs many params
>
> Anyway, if using the shell() would help in linux, it's a good hint.
> But for portability what do I do in other OS?
>
Antal wrote:
>>>in linux I can't use the exec for executing a program with more than one
>>>parameter.
>>>I tried to supply more than a parameter separeted with whitespace, but
>>>it's not reliable, since the program is treating it as just one parameter
>>>
>>>so I can't pass options to programs,
> in linux I can't use the exec for executing a program with more than one
> parameter.
> I tried to supply more than a parameter separeted with whitespace, but
> it's not reliable, since the program is treating it as just one parameter
>
> so I can't pass options to programs, such as:
> ls -l .*