[jbosstools-issues] [JBoss JIRA] (JBDS-4140) Setting 'Path' variable does not work for child_process on OS X
Denis Golovin (JIRA)
issues at jboss.org
Thu Nov 3 23:26:00 EDT 2016
[ https://issues.jboss.org/browse/JBDS-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13317237#comment-13317237 ]
Denis Golovin commented on JBDS-4140:
-------------------------------------
Figured that out problem was when I use process.env and try to get Path/PATH property out of it both works. After code copied it with Object.assign it does not. Attached PR fixed that problem.
> Setting 'Path' variable does not work for child_process on OS X
> ---------------------------------------------------------------
>
> Key: JBDS-4140
> URL: https://issues.jboss.org/browse/JBDS-4140
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: platform-installer
> Affects Versions: 10.2.0.AM3
> Environment: Mac OS X,
> Windows
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Priority: Critical
> Fix For: 10.2.0.AM3
>
>
> Current code sets up environment variable using name 'Path' for running command with child_process module and it works perfectly only under windows. On OS X it it doesn't work, thats why install log has entry
> {code}Setting PATH variable to 'undefined:/bin'{code}.
> Under windows both names 'Path' and 'PATH' works with child_process module.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list