From owner-freebsd-questions Fri Oct 13 2: 1:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.spray.se (stargate.spray.se [212.78.194.91]) by hub.freebsd.org (Postfix) with SMTP id 88A3437B66D for ; Fri, 13 Oct 2000 02:01:51 -0700 (PDT) Received: from 172.16.10.6 by stargate.spray.se (InterScan E-Mail VirusWall NT); Fri, 13 Oct 2000 11:03:16 +0200 (W. Europe Daylight Time) Received: by titan.i.spray.se with Internet Mail Service (5.5.2650.21) id ; Fri, 13 Oct 2000 11:02:19 +0200 Received: from ng4L114.i.spray.se ([172.16.24.114]) by guld.i.spray.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id TFC5VV7Q; Fri, 13 Oct 2000 11:01:39 +0200 From: Johan Pettersson To: freebsd-questions@FreeBSD.ORG Date: Fri, 13 Oct 2000 11:01:46 +0200 (CEST) X-Sender: jopet@ng4L117.i.spray.se\000 Subject: execv Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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