Ben Robson wrote:
> Is there a way to have a Scrip call an external (command-line) perl script?
>
[...]
> something needs attention. Is there a way I can implement an OnCreate
> Scrip to call the perl script, sending input to it via <stdin>?
I'm basically using
system("echo \"$HE did $WHAT to $TICKET\" | /path/to/script.py");
within the custom action cleanup code (after some other conditions
are met), with $HE, $WHAT and $TICKET set before the system() call.
Regards,
kai
--
Kai 'wusel' Siering eMail @ home: [EMAIL PROTECTED]
Traveller on the Information Highway doing full-time administration.
I didn't believe in reincarnation the last time either.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com