diff -u -r1.5 forkedcall.C --- support/forkedcall.C 28 Jul 2002 22:50:13 -0000 1.5 +++ support/forkedcall.C 1 Aug 2002 01:38:30 -0000 @@ -254,8 +254,12 @@ pid_t cpid = ::fork(); if (cpid == 0) { // child execvp(syscmd, argv); - // If something goes wrong, we end up here: - lyxerr << "execvp failed: " + // If something goes wrong, we end up here + string args; + int i = 0; + while (argv[i] != 0) + args += string(" ") + argv[i++]; + lyxerr << "execvp of \"" << syscmd << args << "\" failed: " << strerror(errno) << endl;
Attempting to display an EPS graphics gives : execvp of "/home/moz/src/lyx/lyx-devel/lib/scripts/convertDefault.sh /home/moz/src/lyx/lyx-devel/lib/scripts/convertDefault.sh eps:/home/moz/anime.eps xpm:/tmp/lyx_tmpdir22350FQjUjw/anime22350q1o79w.xpm" failed: Permission denied a) I have /bin/bash installed (this is a BUG in itself) b) I can write to that tmpdir c) I have convert installed ideas ? What happened to using ghostscript (just not done yet ?) thanks john -- "The simpler it is, the harder it is." - Tim Van Holder