You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close-ExcelPackage with -Show results in Start-Process: An error occurred trying to start process </dir/file> with working directory '</workdir>'. Permission denied
Line 36 in Close-ExcelPackage if ($Show) { Start-Process -FilePath $SaveAs }
Seems to run afoul of a PowerShell bug: PowerShell/PowerShell#20990
That bug was reported against 7.4.0, but I experienced it on 7.3.3 as well.
It is possible to patch Close-Excel package to do something like this:
Not suggesting this as a change to the source, but if anyone else is faced with this problem, this may help.
The text was updated successfully, but these errors were encountered:
pccasto
changed the title
Close-ExcelPackage -Show broken on MacOS/Linux due to PowerShell issue
Close-ExcelPackage -Show broken on MacOS due to PowerShell issue
Feb 13, 2024
This is just informational for this project.
Close-ExcelPackage with -Show results in
Start-Process: An error occurred trying to start process </dir/file> with working directory '</workdir>'. Permission denied
Line 36 in Close-ExcelPackage
if ($Show) { Start-Process -FilePath $SaveAs }
Seems to run afoul of a PowerShell bug:
PowerShell/PowerShell#20990
That bug was reported against 7.4.0, but I experienced it on 7.3.3 as well.
It is possible to patch Close-Excel package to do something like this:
Not suggesting this as a change to the source, but if anyone else is faced with this problem, this may help.
The text was updated successfully, but these errors were encountered: