|
4 | 4 | * |
5 | 5 | * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group |
6 | 6 | * |
7 | | - * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.11 2004/06/1017:45:09 momjian Exp $ |
| 7 | + * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.12 2004/06/1018:02:36 momjian Exp $ |
8 | 8 | * |
9 | 9 | *------------------------------------------------------------------------- |
10 | 10 | */ |
@@ -223,19 +223,19 @@ start_postmaster(void) |
223 | 223 | charcmd[MAXPGPATH]; |
224 | 224 |
|
225 | 225 | if (log_file!=NULL) |
226 | | -/* Win32 needs START rather than "&" */ |
| 226 | +/* Win32 needs START/Brather than "&" */ |
227 | 227 | #ifndefWIN32 |
228 | 228 | snprintf(cmd,MAXPGPATH,"%s\"%s\" %s < %s >> \"%s\" 2>&1 &%s", |
229 | 229 | #else |
230 | | -snprintf(cmd,MAXPGPATH,"START %s\"%s\" %s < %s >> \"%s\" 2>&1%s", |
| 230 | +snprintf(cmd,MAXPGPATH,"START/B%s\"%s\" %s < %s >> \"%s\" 2>&1%s", |
231 | 231 | #endif |
232 | 232 | SYSTEMQUOTE,postgres_path,post_opts,DEVNULL,log_file, |
233 | 233 | SYSTEMQUOTE); |
234 | 234 | else |
235 | 235 | #ifndefWIN32 |
236 | 236 | snprintf(cmd,MAXPGPATH,"%s\"%s\" %s < \"%s\" 2>&1 &%s", |
237 | 237 | #else |
238 | | -snprintf(cmd,MAXPGPATH,"START %s\"%s\" %s < \"%s\" 2>&1%s", |
| 238 | +snprintf(cmd,MAXPGPATH,"START/B%s\"%s\" %s < \"%s\" 2>&1%s", |
239 | 239 | #endif |
240 | 240 | SYSTEMQUOTE,postgres_path,post_opts,DEVNULL,SYSTEMQUOTE); |
241 | 241 | returnsystem(cmd); |
|