1 /* refile.c - refile the draft into another folder */
3 static char ident[] = "@(#)$Id: refile.c,v 1.2 1992/12/15 00:20:22 jromine Exp $";
18 vec[vecp++] = r1bindex (fileproc, '/');
19 vec[vecp++] = "-nolink"; /* override bad .mh_profile defaults */
20 vec[vecp++] = "-nopreserve";
21 vec[vecp++] = "-file";
30 (void) fflush (stdout);
32 switch (pid = vfork ()) {
34 advise ("fork", "unable to");
38 execvp (fileproc, vec);
39 fprintf (stderr, "unable to exec ");
44 return (pidwait (pid, NOTOK));