Skip to content

calling from child_process results in exit code 7 #917

Not planned
@jdalton

Description

@jdalton

An example of running tsgo from a child_process

  1. npm install -D @typescript/native-preview
  2. touch .env
  3. Run
    npx dotenvx -q run -- tsgo
    // => Command failed with exit code 7: /Users/jdalton/projects/try-it/node_modules/.bin/tsgo
    OR
    npx dotenvx -q run -- ./node_modules/.bin/tsgo
    // => Command failed with exit code 7: /Users/jdalton/projects/try-it/node_modules/.bin/tsgo

Activity

jakebailey

jakebailey commented on May 23, 2025

@jakebailey
Member

This is a duplicate of #906; error code 7 is "--incremental doesn't work".

jdalton

jdalton commented on May 23, 2025

@jdalton
Author

Oh cool. Glad to know it's not a problem with subprocess stuff 😺

jdalton

jdalton commented on May 23, 2025

@jdalton
Author

Related to #908

Don't error on --incremental, just run normally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jdalton@jakebailey

        Issue actions

          calling from child_process results in exit code 7 · Issue #917 · microsoft/typescript-go