=2D----BEGIN PGP SIGNED MESSAGE-----
On Sunday 12 January 2003 15:19, aon.912165893@... wrote:
> I wrote myself a small bash script which I want to use as event command.
> The complete pathname is "/home/martin/scripts/icqmessage.sh" and it
> accepts two parameters:
> 1) type (e.g. message, online, system, ...)
> 2) Alias name of the user (%a)
> The script works perfect if called from the shell.
> If I set "/home/martin/scripts/icqmessage.sh" as command and e.g. "message
> %a" as parameter the script is never executed. I also tried to use
> "/bin/bash" as command and the following line as parameter:
> -c "/home/martin/scripts/icqmessage.sh message %a"
> This also doesnt work. Any hints on how I can use a bash script as event
> command? Or how I can see what licq actually is trying to do and get some
> error message?
you can use strace to see which file licq tries to open.
a common mistake is, to not use the full path to commands inside scripts. w=
you have a login shell, your $PATH is set correctly, but if you call the=20
script from licq, the script may see not $PATH and thus may not find it's=20
Can you send us your script that we can try ourselfs?
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----