Skip to content

simple executeSingleCommand need 6s #84

@bbscncom

Description

@bbscncom

#6s
PowerShellResponse powerShellResponse = PowerShell
.executeSingleCommand("Get-CimInstance -ClassName Win32_Printer -Property Name|Select-Object -Property Name;");
#1s
Process exec = Runtime.getRuntime()
.exec("powershell.exe Get-CimInstance -ClassName Win32_Printer -Property Name|Select-Object -Property Name;");
#1s
powershell> ....

i try some commands,all need 6s. There seems to be a configuration error it spend 5s. i dont know what happen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions