From owner-freebsd-questions@FreeBSD.ORG Thu Jul 6 14:39:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C9CD16A4DD for ; Thu, 6 Jul 2006 14:39:43 +0000 (UTC) (envelope-from jahnke@sonatabio.com) Received: from smtp.wizwire.com (smtp.wizwire.com [209.218.100.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F4A43D46 for ; Thu, 6 Jul 2006 14:39:42 +0000 (GMT) (envelope-from jahnke@sonatabio.com) Received: from pinot.fmjassoc.com (209.218.101.53.bvi2.wizwire.com [209.218.101.53]) by smtp.wizwire.com (8.13.1/8.13.1) with ESMTP id k66DdRqg021260 for ; Thu, 6 Jul 2006 06:39:27 -0700 From: Frank Jahnke To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 06 Jul 2006 07:38:38 -0700 Message-Id: <1152196718.880.44.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-WizWire-MailScanner-Information: Please contact the ISP for more information X-WizWire-MailScanner: Found to be clean X-MailScanner-From: jahnke@sonatabio.com Subject: Passing Parameters from BSD to Linux and Back X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 14:39:43 -0000 I use a few Linux programs on FreeBSD, and sometimes they invoke other programs that use command line options. I have never been able to get this parameter passing to work. For example, PDF files read by Acroread can contain links to a web browser or an email program; these are often invoked as "program-name %s" in the set-up file. VMware does the same with invoking a browser from defaults set in a config file. I am able to get the appropriate program to open, but the parameters are never passed. I have tried many, many schemes to quote or escape the command and its options, but never have any of these worked. Any suggestions on how I might do this would be most appreciated! Frank