[rt-users] Using Scrips to call an external command
Kai Siering
wusel+rt-users at uu.org
Tue Oct 14 14:43:08 EDT 2008
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: wusel+no-spam at uu.org
Traveller on the Information Highway doing full-time administration.
I didn't believe in reincarnation the last time either.
More information about the rt-users
mailing list