lean3 icon indicating copy to clipboard operation
lean3 copied to clipboard

leanpkg new returns failed to start child process

Open fstiffo opened this issue 6 years ago • 2 comments

Prerequisites

  • [X ] Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed.
    • Reduced the issue to a self-contained, reproducible test case.

Description

The 'leanpkg new' command does not work.

Steps to Reproduce

  1. Installed binary version of Lean on Windows
  2. Add the bin dir to PATH env var.
  3. Tested some coding on VC with the Lean extension installed, and every thing works as intended
  4. Open a cmd windows and type the command leanpkg new myfirstprj

Expected behavior: The creation of a new dir with the name myfirstprj and the setup of the project

Actual behavior: The command start and after a sec the failed to start child process error appears.

Reproduces how often: 100%

Versions

Lean (version 3.4.1, commit 17fe3decaf8a, Release)

Microsoft Windows [Version 6.1.7601]

git version 2.19.0.windows.1

fstiffo avatar Oct 04 '18 13:10 fstiffo

I can reproduce this in cmd.

As a workaround, the command does work in the MSYS2 MinGW 64-bit shell, which you can install here.

fpvandoorn avatar Oct 04 '18 13:10 fpvandoorn

It works also with Git bash that is installed by default with Git on Windows.

fstiffo avatar Oct 04 '18 17:10 fstiffo