We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • IIS6 win 10 cmd

    May 28, 2019 11:14 AM|AndreySignet|LINK

    Greetings! I use IIS to run my localhost. I have a form on the website where a user enters some data, then PHP gets these data and should run Python script. To run it I try to use following commands:


    shell_exec("python script_folder/test.py");




    exec("python script_folder/test.py");


    but nothing happens. Python script is trivial:

    import time  

    print("It works!")


    I guess there is an issue with permissions. Possibly a user that connects website doesn't have privilege to use cmd.

    Could you please help how to proceed?