com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe" (in directory "."): CreateProcess error=2, The system cannot find the file specified

google.com | 4 months ago
  1. 0

    Issue 171922 - android - Exception in git plugin (Android Studio Version 1.1.0 - ( Windows platform) - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 4 months ago
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe" (in directory "."): CreateProcess error=2, The system cannot find the file specified
  2. 0

    NPE on SDK setup

    GitHub | 2 years ago | dlsniper
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "C:\go_appengine\goroot\..\goapp" (in directory "C:\go_appengine\goroot\.."): CreateProcess error=2, The system cannot find the file specified
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Does not work on Windows

    GitHub | 11 months ago | agross
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "rubocop" (in directory "D:\projects\nanoc-coit"): CreateProcess error=2, The system cannot find the file specified
  5. 0

    Test Repository produces misleading error message.

    YouTrack | 3 years ago
    org.zmlx.hg4idea.execution.ShellCommandException: com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "hg.exe": CreateProcess error=2, The system cannot find the file specified

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:136)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    4 frames
  3. Openapi
    GeneralCommandLine.createProcess
    1. com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:261)
    2. com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:248)
    2 frames
  4. git4idea.commands
    GitTask$ModalTask.run
    1. git4idea.commands.GitTextHandler.createProcess(GitTextHandler.java:125)
    2. git4idea.commands.GitTextHandler.startProcess(GitTextHandler.java:57)
    3. git4idea.commands.GitHandler.start(GitHandler.java:462)
    4. git4idea.commands.GitHandler.runInCurrentThread(GitHandler.java:807)
    5. git4idea.commands.GitHandlerUtil.runInCurrentThread(GitHandlerUtil.java:185)
    6. git4idea.commands.GitHandlerUtil.runInCurrentThread(GitHandlerUtil.java:165)
    7. git4idea.commands.GitTask$ModalTask.execute(GitTask.java:334)
    8. git4idea.commands.GitTask$GitTaskDelegate.run(GitTask.java:379)
    9. git4idea.commands.GitTask$ModalTask.run(GitTask.java:328)
    9 frames
  5. IDEA
    ApplicationImpl$8.run
    1. com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
    2. com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:281)
    3. com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
    4. com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
    5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
    6. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
    7. com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:645)
    8. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
    8 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames
  7. IDEA
    ApplicationImpl$1$1.run
    1. com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
    1 frame