Mercurial > octave-libgccjit
view .hgsubstate @ 17959:1329866151be
[Win32] Use spawn instead of exec for main octave wrapper executable.
* src/main.in.cc (prepare_spawn): New function, copied from libtool.
(octave_exec): Use it and call spawnv instead of execv (note: execv
kills the current process, instead of replacing it).
(main): Make sure argv[0] always points to the executable, required by
libtool wrappers.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Tue, 19 Nov 2013 14:25:32 -0500 |
parents | 18096cd30339 |
children |