From kde-devel Fri Feb 25 16:19:12 2005 From: Manuel Amador Date: Fri, 25 Feb 2005 16:19:12 +0000 To: kde-devel Subject: Re: How to pass a password to `mount`? Message-Id: <1109348352.10715.33.camel () master ! amauta> X-MARC-Message: https://marc.info/?l=kde-devel&m=110934811227535 El dom, 20-02-2005 a las 15:41 +1100, Brad Hards escribió: > On Sun, 20 Feb 2005 15:32 pm, Mark A. Taff wrote: > > Thanks Brad. It does work on the command line. Now to get it working from > > perl. > Why perl? Just a shell script: > #! /bin/sh > kdialog --password "enter the password" | mount /dev/loop0 -p 0 Aas much as I hate Perl, Perl would let you read the stderr independently from the stdout and alert you of errors, while shell scripting is very poor at that. > > Brad > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << -- Manuel Amador Amauta >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<