- Notifications
You must be signed in to change notification settings - Fork744
Closed
Description
Node version (or tell us if you're using electron or some other framework):
4.3.1, using electron
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.2
Operating system:
Windows 10
Description of the bug:
When trying to ls on C:, it fires the following error:
ShellJS: internal errorError: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys' at Error (native) at fs.lstatSync (fs.js:982:18) at Object.fs.lstatSync (ELECTRON_ASAR.js:238:16) at pushFile (C:\Users\alberto\Projects\quercus\node_modules\shelljs\src\ls.js:63:25)Example ShellJS command to reproduce the error:
letsh=require('shelljs')sh.cd('C:\\')sh.ls('-lA')