realbasic-nug
[Top] [All Lists]

Re: Shell Help2

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Shell Help2
From: "Bl at cking" <marco dot giardina at tin dot it>
Date: Fri, 30 Aug 2002 16:36:48 +0200
At 07.27 30/08/2002 -0700, you wrote:
At 3:29 PM +0200 8/30/02, Bl at cking wrote:

does anyone how to launch some cmd as root from a GUI of RB ??

Use sudo with the -S option to allow you to pipe the password to it directly.

Thanks Joseph.. the correct construct should be:

password|sudo -S /usr/sbin/netstat -x?

do you can confirm me this string.

many thanks sir.. - Marco

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware 
dot com>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>