Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

leanpkg new returns failed to start child process #1975

Open
fstiffo opened this issue Oct 4, 2018 · 2 comments
Open

leanpkg new returns failed to start child process #1975

fstiffo opened this issue Oct 4, 2018 · 2 comments

Comments

@fstiffo
Copy link

fstiffo commented Oct 4, 2018

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 17fe3de, Release)

Microsoft Windows [Version 6.1.7601]

git version 2.19.0.windows.1

@fpvandoorn
Copy link
Contributor

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.

@fstiffo
Copy link
Author

fstiffo commented Oct 4, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants