Use wine_exec_wine_binary in all cases to start the server.

This commit is contained in:
Alexandre Julliard 2004-05-30 03:11:10 +00:00
parent 4b588d132d
commit 08183bdbfd
1 changed files with 1 additions and 2 deletions

View File

@ -506,8 +506,7 @@ static void start_server( const char *oldcwd )
sprintf( path, "%s/%s", oldcwd, p );
p = path;
}
argv[0] = p;
execv( argv[0], argv );
wine_exec_wine_binary( p, argv, NULL, FALSE );
fatal_perror( "could not exec the server '%s'\n"
" specified in the WINESERVER environment variable", p );
}