Skip to content

Conversation

@mshanemc
Copy link
Member

reuires node 16
use native spawn
use mostly native fs (fs-extra is still around but lazy-loaded only when needed)

chalk instead of oclif/color

import {ux, Interfaces} from '@oclif/core'
import spawn from 'cross-spawn'
import * as fs from 'fs-extra'
import {spawn} from 'child_process'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this on windows? I tried to use spawn inside of plugins install instead of fork and ran into a host of issues on windows. I ended up abandoning the effort and left fork.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I hadn't tried it on windows. good QA catch!

@mdonnalley mdonnalley mentioned this pull request Oct 6, 2023
@mdonnalley mdonnalley deleted the sm/perf branch May 6, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants