IOException:cannot run program:CreateProcess error=193,%1 ist keine zulässige Win32-Anwendung
Ich versuche, führen Sie ein shell-Skript, das ausgeführt wird in MinGW32. Dann bekomme ich die folgende Fehlermeldung:
Verursacht durch:
java.io.IOException: Cannot run program "./myJooqGeneratorDB.sh", (in directory "C:\Users\admin\desktop\workspace\myProject") CreateProcess error = 193, %1 is not a valid win32 application.
Meine build.gradle
:
task createDb(type:Exec) {
workingDir("${project.projectDir}");
commandLine './jooq/myJooqGeneratorDb.sh'
}
Meine myJooqGeneratorDb.sh
:
#!/bin/bash
rm build/project.db
mkdir build
sqlite3 build/project.db < res/raw/project_create.sql
Weiss, was es falsch in meinem code?. Vielen Dank im Voraus!
Du musst angemeldet sein, um einen Kommentar abzugeben.
Ich nur das problem behoben. Statt :
ist