File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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.7 2004/06/04 04:05:36 momjian Exp $
7
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.8 2004/06/09 17:36:07 momjian Exp $
8
8
*
9
9
*-------------------------------------------------------------------------
10
10
*/
@@ -224,10 +224,10 @@ start_postmaster(void)
224
224
225
225
/* Does '&' work on Win32? */
226
226
if (log_file != NULL )
227
- snprintf (cmd , MAXPGPATH , "\"%s\" %s < %s >>\"%s\" 2>&1 &" ,
227
+ snprintf (cmd , MAXPGPATH , "'%s' %s < %s >> '%s' 2>&1 &" ,
228
228
postgres_path , post_opts , DEVNULL , log_file );
229
229
else
230
- snprintf (cmd , MAXPGPATH , "\"%s\" %s < %s 2>&1 &" ,
230
+ snprintf (cmd , MAXPGPATH , "'%s' %s < %s 2>&1 &" ,
231
231
postgres_path , post_opts , DEVNULL );
232
232
return system (cmd );
233
233
}
You can’t perform that action at this time.
0 commit comments