I have a python script (wap.py) from which I am calling wapiti asynchronously using Popen. Command for it in wap.py: p = Popen("python wapiti domainName", shell = True) When I am running wap.py, it is executing completely fine.
But when I am running it using php exec, it doesn't work. Command from php file : exec("python wap.py")