GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Run `mocha` using `process.execPath` instead of harcoding `"node"` by Andarist · Pull Request #48797 · microsoft/TypeScript

Conversation

@Andarist

@Andarist Mateusz Burzyński (Andarist) commented Apr 21, 2022

Copy link
Copy Markdown
Contributor

This is just a small tooling PR that makes it easier to execute tasks using gulp with alternative execPath. Specifically, it makes it easier to record runs with https://www.replay.io/

Note that you are already using the same thing here:

TypeScript/scripts/build/projects.js

Line 39 in fa2ad1a

exec(process.execPath,

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andrewbranch reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@Andarist
Run mocha using process.execPath instead of harcoding "node"
12b4fc9
@typescript-bot TypeScript Bot (typescript-bot) added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Apr 21, 2022
@typescript-bot

TypeScript Bot (typescript-bot) commented Apr 21, 2022

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sandersn Nathan Shively-Sanders (sandersn) added the Housekeeping Housekeeping PRs label May 4, 2022
@sandersn
Nathan Shively-Sanders (sandersn) requested review from Andrew Branch (andrewbranch), Ron Buckton (rbuckton) and Wesley Wigham (weswigham) May 4, 2022 15:20
@sandersn Nathan Shively-Sanders (sandersn) assigned Ron Buckton (rbuckton) May 4, 2022
sandersn
Nathan Shively-Sanders (sandersn) approved these changes May 4, 2022
View reviewed changes
@sandersn
Nathan Shively-Sanders (sandersn) merged commit d337cbc into microsoft:main May 4, 2022
@Andarist
Mateusz Burzyński (Andarist) deleted the run-mocha-exec-path branch May 4, 2022 17:39
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@sandersn Nathan Shively-Sanders (sandersn) sandersn approved these changes
@andrewbranch Andrew Branch (andrewbranch) Awaiting requested review from andrewbranch
@rbuckton Ron Buckton (rbuckton) Awaiting requested review from rbuckton
@weswigham Wesley Wigham (weswigham) Awaiting requested review from weswigham

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@rbuckton Ron Buckton (rbuckton)

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug Housekeeping Housekeeping PRs

Projects

PR Backlog
Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@Andarist @typescript-bot @sandersn @rbuckton
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.