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>
|