This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

before build/rebuild

hello ! why keil can't execute python script on before build/rebuild user command , he can only execute batch file

Parents
  • You still haven't said why it was failing - what error message(s) are you getting?

    You also haven't showed exactly what command you had configured.

    Remember that we don't have access to your computer; we can't see this stuff - so it's up to you to provide full information!

Reply
  • You still haven't said why it was failing - what error message(s) are you getting?

    You also haven't showed exactly what command you had configured.

    Remember that we don't have access to your computer; we can't see this stuff - so it's up to you to provide full information!

Children
  • the error message am getting is "CreateProcess failed, Command..."
    and about the commannd i mentionned it am adding a python script to "Before Build/Rebuild"

  • IS that the complete message?

    How, exactly, are you 'adding a python script to "Before Build/Rebuild"' ?

    Show exactly what you have entered in the box.

    Again: remember that we don't have access to your computer; we can't see this stuff - so it's up to you to provide complete information!

  • the error message am getting is "CreateProcess failed, Command..."
    and about the commannd i mentionned it am adding a python script to "Before Build/Rebuild"

    Yes, add the python script BUT MAKE SURE YOU PUT py in front of it like this

    py "python script name"

    This will execute a python script.

    If you do not put the py in front of it you will get

    *** Error: CreateProcess failed, Command: "filename"

    unless that is what you want, put the py in front of it.