1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Author: Francois Mazen <francois@mzf.fr>
Description: Fix executable path and edp file path for linux.
Forwarded: https://github.com/FreeFem/FreeFem-sources/pull/190
--- a/plugin/seq/ffmaster.c
+++ b/plugin/seq/ffmaster.c
@@ -95,7 +95,7 @@
"..\\examples\\plugin\\ffslave.edp",
"-nw", "-ns", "-v", ff, NULL );
#else
- sprintf(ff, "FreeFem++.exe C:\\Users\\t1m\\FreeFem++\\examples\\plugin\\ffslave.edp -nw -ns -v %d&", debug);
+ sprintf(ff, "FreeFem++ /usr/share/doc/freefem++/examples/plugin/ffslave.edp -nw -ns -v %d&", debug);
ret = system(ff); // Lauch FF++ in batch no graphique
#endif
if (ret == -1) printf("system function error\n");
|