-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 12 January 2003 15:19, [EMAIL PROTECTED] wrote:
> Hi!
>
> 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. when 
you have a login shell, your $PATH is set correctly, but if you call the 
script from licq, the script may see not $PATH and thus may not find it's 
commands.

Can you send us your script that we can try ourselfs?

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IdYs+83LmoKU5MARAoiqAJ4v/i1rE3b9mvbVRQO5c0LHtvL7YgCfUqKR
z7QD5j2Da7tGf2aKd5Big5M=
=zgI9
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
LICQ-Main mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-main

Reply via email to