This commit is contained in:
@@ -57,6 +57,11 @@ ProcessStartInfo PGStartInfo = new ProcessStartInfo(Path.Combine(AyaNovaProgramF
|
||||
//so if anything is missing it probably needs to be added as a argument here
|
||||
//This is all because otherwise it logs to launcher console and messes up display as mixed in with ayanova server notices and also has misleading errors that don't apply
|
||||
//like missing ayanova database which is about to be created anyway
|
||||
//Name PID Status User name CPU Memory (active private working set) Command line UAC virtualization
|
||||
//postgres.exe 10676 Running cardj 00 1,532 K "C:/Program Files/ayanova/local-postgres/bin/postgres.exe" -D "C:/ProgramData/ayanova/database" -p 5432 Disabled
|
||||
|
||||
//"C:/Program Files/ayanova/local-postgres/bin/postgres.exe" -D "C:/ProgramData/ayanova/database" -p 5432
|
||||
|
||||
PGStartInfo.Arguments = $"-D {Path.Combine(DataPath, "database")} -o \"-p 5432\" -l {Path.Combine(DataPath, "logs","postgres.log")} start";
|
||||
PGStartInfo.WorkingDirectory = Path.Combine(AyaNovaProgramFolder, "local-postgres", "bin");
|
||||
PGStartInfo.UseShellExecute = false;
|
||||
|
||||
Reference in New Issue
Block a user