Using Scrips to call an external command

Is there a way to have a Scrip call an external (command-line) perl
script?

I have a special, in house developed, perl script that manages our
on-call rotation and when input is provided, via , it sends an
email and SMS of the input to the on-call engineers to let them know
something needs attention. Is there a way I can implement an OnCreate
Scrip to call the perl script, sending input to it via ?

Thanks heaps for the assistance.

BenR

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 ?

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@uu.org
Traveller on the Information Highway doing full-time administration.

I didn’t believe in reincarnation the last time either.