[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Command line FreeDiams
From: |
Sebastian Hilbert |
Subject: |
Re: [Gnumed-devel] Command line FreeDiams |
Date: |
Mon, 1 Mar 2010 10:11:17 +0100 |
User-agent: |
KMail/1.13.0 (Linux/2.6.31.12-0.1-default; KDE/4.4.0; i686; ; ) |
Am Montag 01 März 2010 09:20:55 schrieb Jim Busser:
> On 2010-03-01, at 12:03 AM, Karsten Hilbert wrote:
> > Try enclosing the whole dang thing in quotes:
> >
> > open -a 'FreeDiams.app --patientname="James Kirk" --gender=M'
>
Or turn around the quotation like this " 'foo' ". I guess part of the problem
is that open expects arguments and FreeDiams as well.
I nothing works try wrapping it in a shell sript.
On the other hand I suppose if you enclose the complete thing in quotes
open -a will interpret is a single string and not let FD parse the rest.
Just for the fun of it try nested quotes like this:
open -a 'FreeDiams.app --patientname=\"James Kirk\" --gender=M'
You might even have to escape the space:
open -a 'FreeDiams.app --patientname=\"James\ Kirk\" --gender=M'
and the M might need some quotations as well.