Executing shell commands (OS X)
hershbp at verizon.net
hershbp at verizon.net
Wed Jul 7 00:26:03 EDT 2004
While we are at it , I'd like to execute a shell command
" shell(/usr/local/bin/postmaster -D /usr/local/pgsql/data -i)"
how would it work.
or at the same time
"su - postgres" and then it should put a password, and the to continue
the above command ?
Thanks.
On Tuesday, July 6, 2004, at 12:17 AM, Andre Garzia wrote:
>
> On Jul 6, 2004, at 12:46 AM, James Cass wrote:
>
>> Andre -
>>
>> As an alternative solution, one could use multiple shell commands
>> separated by a semi-colon:
>>
>> get shell("cd /etc/ ; ls")
>>
>> Cheers...James
>
> James,
>
> I keep forgeting about semicolons... I have nightmares with them, they
> remember me of my past... programming in C.... irgh! :D
>
> cheers (thanks for the tip!)
> Andre
>
>
>>
>>
> --
> Andre Alves Garzia 2004
> Soap Dog Studios - BRAZIL
> http://studio.soapdog.org
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list