ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "George V. Kouryachy" <george@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] bash & wine help need
Date: Mon, 11 Feb 2008 17:06:32 +0300
Message-ID: <20080211140632.GB16146@imap.altlinux.org> (raw)
In-Reply-To: <47AF2055.3040504@anti.su>

On Sun, Feb 10, 2008 at 09:03:33PM +0500, Gosha wrote:
> Если просто прописать:
> 
> if /usr/bin/wine start ./ch_sale.bat
> then
> ...
> fi
> 
> то, что после then отрабатывает сразу, не дождавшись завершения
> работы программы.
Я поступаю, возможно, очень радикально: дожидаюсь останова сервера.

while pidof wineserver; do ...

В моём случае это работает, т. к. кроме нужной виндовой проги ничего под
wine не запускается. Сервер болтается секунды две-три после останова
самой порграммы.

В вашем случае может помочь запуск через

wineconsole --backend=user ...

-- 
			George V. Kouryachy (aka Fr. Br. George)
			mailto:george at altlinux_org


  reply	other threads:[~2008-02-11 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10 16:03 Gosha
2008-02-11 14:06 ` George V. Kouryachy [this message]
2008-02-11 14:37   ` Gosha
2008-02-14 15:56     ` George V. Kouryachy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080211140632.GB16146@imap.altlinux.org \
    --to=george@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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