Opened 11 months ago
Closed 8 months ago
#537 closed defect (fixed)
command case sensitive when invoking powershell script
| Reported by: | yancy | Owned by: | mickem |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4.1 |
| Component: | CheckDisk | Version: | 0.4.0 |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description (last modified by mickem)
NSClient++.cpp:385: NSClient++ 0,4,0,172 2012-05-08 w32 booting...
When adding a powershell script to external scripts, if the command has any uppercase characters, the command can't be found.
command definition: (lower case)
delta_install=cmd /c echo scripts\DeltaInstall.ps1; exit($lastexitcode) | powershell.exe -command -
result:
d rvice\NSClient++.cpp:923 Injecting: delta_install... l kExternalScripts.cpp:229 Arguments: /c echo scripts\DeltaInstall.ps1; exit($l astexitcode) | powershell.exe -command - d rvice\NSClient++.cpp:947 Result delta_install: OK l ce\simple_client.hpp:80 OK:Programs Files Counted: 3
command definition (upper case):
Delta_Install=cmd /c echo scripts\DeltaInstall.ps1; exit($lastexitcode) | powershell.exe -command -
result:
rvice\NSClient++.cpp:923 Injecting: delta_install... rvice\NSClient++.cpp:947 Result delta_install: BAD_CODE: -1 rvice\NSClient++.cpp:901 No data retutned from command ce\simple_client.hpp:80 WARNING:
Tested on multiple OS types (2008 and Windows 7)
Change History (3)
comment:1 Changed 10 months ago by mickem
- Description modified (diff)
- Version changed from 0.4.0-nightly to 0.4.0
comment:2 Changed 10 months ago by mickem
- Milestone set to 0.4.0
comment:3 Changed 8 months ago by mickem
- Milestone changed from 0.4.0 to 0.4.1
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.









resolved a few versions ago...