unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs eshell .bat "warning: extra args ignored"
@ 2005-08-18  7:38 zslist
  2005-08-18  9:01 ` Lennart Borgman
       [not found] ` <mailman.4159.1124357923.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: zslist @ 2005-08-18  7:38 UTC (permalink / raw)


i tried to run a windows command under eshell.

c:/temp $ a.bat -server 1
warning: extra args ignored after '-server'

c:/temp $ b.bat server
warning: extra args ignored after 'a.bat'

My question is how to pass arguments to regular windows command batch
file?

thanks.

-zs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs eshell .bat "warning: extra args ignored"
  2005-08-18  7:38 emacs eshell .bat "warning: extra args ignored" zslist
@ 2005-08-18  9:01 ` Lennart Borgman
       [not found] ` <mailman.4159.1124357923.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Lennart Borgman @ 2005-08-18  9:01 UTC (permalink / raw)
  Cc: help-gnu-emacs

Seems like a bug too me.


zslist@gmail.com wrote:

>i tried to run a windows command under eshell.
>
>c:/temp $ a.bat -server 1
>warning: extra args ignored after '-server'
>
>c:/temp $ b.bat server
>warning: extra args ignored after 'a.bat'
>
>My question is how to pass arguments to regular windows command batch
>file?
>
>thanks.
>
>-zs
>  
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs eshell .bat "warning: extra args ignored"
       [not found] ` <mailman.4159.1124357923.20277.help-gnu-emacs@gnu.org>
@ 2005-08-18 19:57   ` zslist
  2005-08-19  8:12     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: zslist @ 2005-08-18 19:57 UTC (permalink / raw)


doing a bit more digging showed that eshell just pass this to
'cmdproxy' to start a process. However, cmdproxy seems to have a
restriction on multiple arguments.

So anyone has some workaround on this?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs eshell .bat "warning: extra args ignored"
  2005-08-18 19:57   ` zslist
@ 2005-08-19  8:12     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2005-08-19  8:12 UTC (permalink / raw)


> From: zslist@gmail.com
> Date: 18 Aug 2005 12:57:05 -0700
> 
> doing a bit more digging showed that eshell just pass this to
> 'cmdproxy' to start a process. However, cmdproxy seems to have a
> restriction on multiple arguments.
> 
> So anyone has some workaround on this?

Try the obvious one:

  cmd /c "foo.bat arg1 arg2 arg3"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-19  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18  7:38 emacs eshell .bat "warning: extra args ignored" zslist
2005-08-18  9:01 ` Lennart Borgman
     [not found] ` <mailman.4159.1124357923.20277.help-gnu-emacs@gnu.org>
2005-08-18 19:57   ` zslist
2005-08-19  8:12     ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).