Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: calling dos program from a zsh script
- X-seq: zsh-users 8625
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: calling dos program from a zsh script
- Date: Mon, 21 Mar 2005 17:06:51 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <9sit31dtc7q4jf7hmqoo97ibdc5dll09tf@xxxxxxx> <1050321161713.ZM12416@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Mon, 21 Mar 2005 16:17:13 +0000, wrote:
>On Mar 21, 1:32pm, zzapper wrote:
>}
>} sja.exe /somepath/params.xml
>}
>} This wouldn't work as sja always complained that it couldn't find param.xml
>}
>} I guess this is because zsh is somehow interpreting the
>} /somepath/params.xml before passing it on.
>
>Actually it's more likely because zsh is NOT interpreting the path, and
>bash (or whatever /bin/sh is) DOES interpret it.
>
>That is, the DOS utility is probably expecting \somepath\params.xml
>but zsh passes it through unchanged with forward slashes instead.
The line
sja.exe /somepath/params.xml
works when typed from the zsh prompt, but not from inside a little script
Messages sorted by:
Reverse Date,
Date,
Thread,
Author