Closed eddie168 closed 11 years ago
I think we should use this
@Dignifiedquire do you remember why you used wmic OS get OSArchitecture
instead of node.js process.arch
?
The problem is that the process architecture can differ from the os architecture which is what we really want to know. E.g. node 32bit would give 32bit process.arch even if it's running on a 64bit machine. os.arch should solve that but doesn't right now see this issue https://github.com/joyent/node/issues/2862
On Wed, Apr 17, 2013 at 1:42 PM, José F. Romaniello notifications@github.com wrote:
@Dignifiedquire do you remember why you used
wmic OS get OSArchitecture
instead of node.jsprocess.arch
?Reply to this email directly or view it on GitHub: https://github.com/jfromaniello/winser/issues/12#issuecomment-16500793
thanks @Dignifiedquire it makes sense,
@eddie168 fixed in 0.1.2
Thanks for the quick fix!
At
node_modules\winser\bin\winser:87
, I need to change the regular expression fromto
since Windows Server 2008 return "64-bit" instead of "64-Bit".