[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shell-escape a string
From: |
neil |
Subject: |
Re: Shell-escape a string |
Date: |
Sun, 08 Mar 2015 09:38:13 +0000 |
Needing the output is an independent concern, and means you should use (ice-9
popen) instead of system.
open-pipe* is analogous to system*, in that it doesn't use a shell.
Regards,
Neil
Original Message
From: Mark A. Hershberger
Sent: Saturday, 7 March 2015 15:09
To: address@hidden
Cc: address@hidden
Subject: Re: Shell-escape a string
Mark A. Hershberger writes:
> address@hidden writes:
>
>> How about using system* instead and pass your arguments directly instead
>> of letting a shell (mis)interpret them?
>
> Thanks for pointing this out. It looks like the right solution.
Actually, upon reflection, I think I need to use Taylan's shell escape
method since I need the output.
--
Mark A. Hershberger
NicheWork LLC
717-271-1084
Re: Shell-escape a string, Taylan Ulrich Bayırlı/Kammer, 2015/03/07