[ic] Route track PIPE

Steffen Dettmer interchange-users@lists.akopia.com
Wed Jul 11 05:33:00 2001


* bill@worldwideimpact.com wrote on Tue, Jul 10, 2001 at 10:10 -0400:
> Is there another way to PIPE the orders to an external command? 

AFAIK you should be able to use any perl feature. If you write to
the external command STDIN I would suggest open("|" . $cmd).

Make sure that your $cmd handles multiple running instances
correctly (i.e. no direct disk writes and so on).

Maybe it's more easy to write it in the database. Do it in an
transaction, and you can put an error message in the HTTP answer
if needed. Then you can process the entries from the database
with your $cmd (i.e. in a single instance if needed) and the
database takes care about the data access - that was it is for :)

oki,

Steffen

-- 
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.