Nate Fischer
Nate Fischer
Thanks for confirming. I adjusted the title to remove the word "regression."
Thanks, @sedwards2009! We would unfortunately need to find some sort of Windows equivalent before we could use that, but that's a good start :+1:
@TossShinHwa take a look at #524 and let me know if it preserves colors/spinners
This is an explicit goal of #866. I encourage you to review https://shelljs.page.link/cmd-design#heading=h.xf8zudcsg483 (specific section: "Step 3: real-time output mode")
I believe color output is a potential outcome of that design. I haven't implemented that part of the design yet, but I'll update this issue when I do.
Sounds like the glob expansion is failing for the network drive. This is probably an issue specific to how Windows works, since it sounds like it's not returning the directory...
What is `xdotool`? Can you link to documentation for this tool and explain how I can install it for testing?
I think you want `import shell from 'shelljs';`. Here's an example (which is transpiled by babel, but hopefully still works with native ES module support): https://github.com/shelljs/shx/blob/61aca968cd7afc712ca61a4fc4ec3201e3770dc7/src/shx.js#L1 Let me know if...
Just tried this out and it seems to work for me: ```js // index.mjs import shell from 'shelljs'; console.log(shell.ls().stdout); ``` I can run this with: ```sh $ node --version v16.13.1...
Another related package: [sindresorhus/globby](https://github.com/sindresorhus/globby) (fast-glob under the hood, with a nicer API and good support for async-await down the road).