Why does CreateProcess give error 193 (%1 is not a valid Win32 app)

后端 未结 4 1201
花落未央
花落未央 2020-11-28 16:13

The code below fails to start documents. I get error 193 (%1 is not a valid Win32 app). Starting executables work fine. The files are properly associated, they start the cor

4条回答
  •  天涯浪人
    2020-11-28 16:50

    Let me add an example here:

    I'm trying to build Alluxio on windows platform and got the same issue, it's because the pom.xml contains below step:

          
            exec-maven-plugin
            org.codehaus.mojo
            false
            
              
                Check that there are no Windows line endings
                compile
                
                  exec
                
                
                  ${build.path}/style/check_no_windows_line_endings.sh
                
              
            
          
    

    The .sh file is not executable on windows so the error throws.

    Comment it out if you do want build Alluxio on windows.

提交回复
热议问题