Date: Fri, 13 Oct 2000 11:01:46 +0200 (CEST) From: Johan Pettersson <pettersson.johan@spray.se> To: freebsd-questions@FreeBSD.ORG Subject: execv Message-ID: <Pine.BSF.4.21.0010131054320.84056-100000@ng4L117.i.spray.se\000>
next in thread | raw e-mail | index | archive | help
Hi!
I have problem with a C-program.
-----8<------------------------
char *arglist[] = { "-e pine" };
.
.
execv("/usr/X11R6/bin/xterm", arglist);
-----8<------------------------
The function replaces the process image
with xterm. But how do I pass arguments
to xterm. (above doesn't work =(
Best regards
Johan
--
Spray Network Services
Stockholm | Sweden
Cell: +46(0)708 402 836
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010131054320.84056-100000>
