Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join-Path error in Split-ExecutableAndArguments.ps1 #96

Closed
b4rt0s1k opened this issue Sep 14, 2023 · 3 comments
Closed

Join-Path error in Split-ExecutableAndArguments.ps1 #96

b4rt0s1k opened this issue Sep 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@b4rt0s1k
Copy link

Version

1.6.0

Computer Model

20XY005NMX

Problem

Argument passed to Split-ExecutableAndArguments.ps1 not a directory:

VERBOSE: Installing package n32a130w ...
Join-Path: C:\Users\User1\Documents\PowerShell\Modules\LSUClient\1.6.0\private\Split-ExecutableAndArguments.ps1:43
Line |
43 | … PathRelative = Join-Path -Path $WorkingDirectory -ChildPath $testPath
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The filename, directory name, or volume label syntax is incorrect. :
| 'C:\ProgramData\Lenovo\Updates\n32a130w\n32a130w.exe \verysilent
| \DIR=C:\ProgramData\Lenovo\Updates\n32a130w\TMP'
ID : n32a130w
Title : Realtek Audio Driver - 10 (1909 or Later)/11 (21H2 or Later)
Type : Driver
Success : True
FailureReason :
PendingAction : REBOOT_SUGGESTED
ExitCode : 0
StandardOutput :
StandardError :
LogOutput :
Runtime : 00:00:27.1776414

Additional context

No response

@b4rt0s1k b4rt0s1k added the bug Something isn't working label Sep 14, 2023
@jantari
Copy link
Owner

jantari commented Sep 15, 2023

Am I correct that this error occured in PowerShell version 6 or 7?

I can reproduce it there, but not in 5.1

The error is only cosmetic, but I can catch and hide it in the future.

@jantari
Copy link
Owner

jantari commented Sep 22, 2023

Can you confirm the version of PowerShell this error occured in?

@jantari jantari closed this as completed in 5db48ae Dec 4, 2023
@jantari
Copy link
Owner

jantari commented Dec 4, 2023

The error is harmless, but now handled and suppressed in LSUClient 1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants