[mod_python] os.system-not working

deepak battu deepak.battu at yahoo.co.in
Sun May 27 07:14:33 EDT 2007


cmd = "nmap -O " + myip + "> /usr/local/apache2/htdocs/test/temp/tmp.txt"

os.system(cmd)

 Iran this code in python it is working but when i run this in mod_python through apache it is not showing any errors but not giving the correct result. plz help me.






      Looking for people who are YOUR TYPE? Find them at in.groups.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070527/2f12de95/attachment.html


More information about the Mod_python mailing list