java.io.IOException

Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,

Samebug tips3

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");


rafaelrafael

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1939

  • via Unknown by Unknown author,
  • via Stack Overflow by Revathi
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • java.io.IOException: Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2, at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.eclipse.jgit.util.FS.readPipe(FS.java:431) at org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113) at org.eclipse.jgit.util.FS.gitPrefix(FS.java:517) at org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92) at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:171) at org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:92) at org.eclipse.jgit.storage.file.FileRepositoryBuilder.create(FileRepositoryBuilder.java:110)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Qamer AliQamer Ali
    Once,
    PKeidelPKeidel
    3 times, last one
    serious2monkeysserious2monkeys
    Once,
    HandemelindoHandemelindo
    6 times, last one
    101 more bugmates