Displaying 1 result from an estimated 1 matches for "navm".
Did you mean:
nasm
2008 Feb 13
2
[Linux/Python 2.4.2] Forking Python doesn't work
...port socket,sys,time,os
def sendstuff(data):
s.sendto(data,(ipaddr,portnum))
return
sys.stdout = open(os.devnull, 'w')
if os.fork():
#BAD? sys.exit(0)
os._exit(0)
else:
now = time.localtime(time.time())
dateandtime = time.strftime("NaVm/%y NaVM", now)
myarray = []
myarray.append("STAT Rings: 1")
myarray.append("RING")
myarray.append("NAME " + cidname)
myarray.append("TTSN Call from " + cidname)
myarray.append("NMBR " + cidnum)...