ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Консольные Win32-программы в wine и параметры в командной строке
@ 2003-04-21 12:14 Прокопьев Евгений
  2003-04-21 13:14 ` Andrew Borodin
  0 siblings, 1 reply; 2+ messages in thread
From: Прокопьев Евгений @ 2003-04-21 12:14 UTC (permalink / raw)
  To: community

Здравствуйте!

Как запускать консольные Win32-программы в wine с параметрами в 
командной строке?

$ wine /var/lib/wine/btrieve/butil.exe -clone TELEPHON.MKD TELEPHON.CLN
Unknown option '-clone'

Wine 20021031

Usage: /usr/bin/wine.bin [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)

Options:
    --debugmsg name  Turn debugging-messages on or off
    --dll name       Enable or disable built-in DLLs
    --help,-h        Show this help message
    --version,-v     Display the Wine version

$ wine "/var/lib/wine/btrieve/butil.exe -clone TELEPHON.MKD TELEPHON.CLN"
Unknown option '-clone'

Wine 20021031

Usage: /usr/bin/wine.bin [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)

Options:
    --debugmsg name  Turn debugging-messages on or off
    --dll name       Enable or disable built-in DLLs
    --help,-h        Show this help message
    --version,-v     Display the Wine version

Делаю bat-файл, но эффект тот же:

$ cat /var/lib/wine/btrieve/clone.bat
butil.exe -clone TELEPHON.MKD TELEPHON.CLN

$ wine /var/lib/wine/btrieve/clone.bat
/usr/bin/wine.bin: cannot determine executable type for 
'C:\btrieve\clone.bat'

Да еще беда: если я запускаю wine /var/lib/wine/btrieve/butil.exe без Х, 
то получаю : x11drv: Can't open display:

Это логично, но как быть, если мне надо запускать программы, не имеющие 
GUI на машине без Х?

-- 
С уважением, Прокопьев Евгений



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

* Re: [Comm] Консольные Win32-программы в wine и параметры в командной строке
  2003-04-21 12:14 [Comm] Консольные Win32-программы в wine и параметры в командной строке Прокопьев Евгений
@ 2003-04-21 13:14 ` Andrew Borodin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Borodin @ 2003-04-21 13:14 UTC (permalink / raw)
  To: community

On Mon, Apr 21, 2003 at 04:14:29PM +0400, Прокопьев Евгений wrote:
> Здравствуйте!
> 
> Как запускать консольные Win32-программы в wine с параметрами в 
> командной строке?
> 
> $ wine /var/lib/wine/btrieve/butil.exe -clone TELEPHON.MKD TELEPHON.CLN
> Unknown option '-clone'
> 
> Wine 20021031
> 
> Usage: /usr/bin/wine.bin [options] [--] program_name [arguments]

  Ясно ж написано:

  wine [его опции] -- программа [ее аргументы]

т. е. так:

  $ wine -- /var/lib/wine/btrieve/butil.exe -clone TELEPHON.MKD TELEPHON.CLN

  С уважением,
  А. Бородин.

-- 
    (В день очищения от грехов)
  Дунул свежий ветерок,
  С плеском выскочила рыба...
  Омовение в реке.
                      Басё



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

end of thread, other threads:[~2003-04-21 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-21 12:14 [Comm] Консольные Win32-программы в wine и параметры в командной строке Прокопьев Евгений
2003-04-21 13:14 ` Andrew Borodin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git