Skip to content

Commit 245fb67

Browse files
Fix permission issue with Start-Process
Use nohup to call a bash script to fix the "Permission denied" issue on appveyor.
1 parent 8863296 commit 245fb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start-cosmos-db-emulator.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function StartCosmosDbEmulatorDockerContainer {
1919

2020
Write-Host "Installing Cosmos DB Emulator certificates ..."
2121
Start-Sleep -Seconds 30
22-
Start-Process -FilePath ".\install-azure-cosmos-emulator-linux-certificates.sh"
22+
Start-Process nohup 'bash ./install-azure-cosmos-emulator-linux-certificates.sh'
2323
}
2424

2525
function StartCosmosDbEmulatorForWindows {

0 commit comments

Comments
 (0)