Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4166 from tokejepsen/bugfix/run_mongo_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
antirotor authored Dec 2, 2022
2 parents 6d38900 + 9e40ef9 commit 45bf690
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/run_mongo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,6 @@ $mongoPath = Find-Mongo $preferred_version
Write-Color -Text ">>> ", "Using DB path: ", "[ ", "$($dbpath)", " ]" -Color Green, Gray, Cyan, White, Cyan
Write-Color -Text ">>> ", "Port: ", "[ ", "$($port)", " ]" -Color Green, Gray, Cyan, White, Cyan

New-Item -ItemType Directory -Force -Path $($dbpath)

Start-Process -FilePath $mongopath "--dbpath $($dbpath) --port $($port)" -PassThru | Out-Null

0 comments on commit 45bf690

Please sign in to comment.