On Wed, 13 Feb 2008 22:26:16 -0500, Russell Bryant
<[EMAIL PROTECTED]> wrote:
>The arguments to System() are a bit different.  Put it in just like you would 
>type at the command line.
>
>System(/tmp/netcid.py 2000 Joe)

That did it :-) Thanks guys.

BTW, for those interested, I didn't have to double-fork:

======
#!/usr/bin/python

import socket,sys,time,os

sys.stdout = open(os.devnull, 'w')
if os.fork():
        sys.exit(0)
else:
        #Here, send broadcast
======


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to