FYI,

I ended up hacking around this with the following Perl script.  It uses
expect to script an interactive amulecmd session.  It's a hack but it
should work until the package maintainers can fix the actual bug.




#!/usr/bin/perl 
#
use strict;

use Expect;

# create an Expect object by spawning another process

my $cmd = "amulecmd -P=XXXXXXXXXXXXXXX";

my $exp = Expect->spawn("$cmd",())or die "Cannot spawn $cmd: $!\n";

# send some string there:
$exp->send("results\n");
$exp->send("download $ARGV[0]\n");
$exp->send("Quit\n");

$exp->soft_close();
$exp->hard_close();

exit 0;





> Date: Tue, 7 Apr 2009 04:52:14 +0000
> From: wrtrdr...@yahoo.com
> To: cherac...@hotmail.com
> Subject: [Bug 190850] Re: amulecmd download does not work with -c
> 
> UPDATE:     I've just tried upgrading to 2.2.4 with the same results. I
> can pass searches and pull results, but can not tell amuled to start
> downloading. It would seem a little pointless to be able to do the
> others and not be able to do that.
> 
> -- 
> amulecmd download does not work with -c
> https://bugs.launchpad.net/bugs/190850
> You received this bug notification because you are a direct subscriber
> of the bug.

_________________________________________________________________
Rediscover HotmailĀ®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009

-- 
amulecmd download does not work with -c
https://bugs.launchpad.net/bugs/190850
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to