[jbosstools-issues] [JBoss JIRA] (JBDS-4308) Run cygwin with hidden window using powershell start-process cmdlet

Denis Golovin (JIRA) issues at jboss.org
Thu Mar 16 11:36:00 EDT 2017


    [ https://issues.jboss.org/browse/JBDS-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13379157#comment-13379157 ] 

Denis Golovin edited comment on JBDS-4308 at 3/16/17 11:35 AM:
---------------------------------------------------------------

Could you just this from cmd.exe

{code}
powershell -Command "& {Start-Process -WindowStyle hidden -FilePath notepad.exe}"
{code}

there should be no notepad window, but it should appear in the list of running processes

{code}
C:\Users\eskimo>powershell -Command  "Get-Process notepad -ErrorAction SilentlyContinue"

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
-------  ------    -----      -----     ------     --  -- -----------
    167      11     2284      11164       0.09  11128   1 notepad
{code}


was (Author: dgolovin):
Could you just this from cmd.exe

{code}
powershell -Command "& {Start-Process -WindowStyle hidden -FilePath notepad.exe}"
{code}

there should be no notepad window, but it should appear in the list of running processes

> Run cygwin with hidden window using powershell start-process cmdlet
> -------------------------------------------------------------------
>
>                 Key: JBDS-4308
>                 URL: https://issues.jboss.org/browse/JBDS-4308
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Enhancement
>          Components: platform-installer
>         Environment: Windows
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 10.4.0.AM2
>
>
> Start-Process -WindowStyle hidden -FilePath notepad.exe



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list