Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > be.comp.os.linux > #6112

Re: bash scriptje

From Aragorn <thorongil@telenet.be.invalid>
Newsgroups be.comp.os.linux
Subject Re: bash scriptje
Followup-To be.comp.os.linux
Date 2016-04-20 20:07 +0200
Organization A noiseless patient Strider
Message-ID <nf8gbf$qeo$1@dont-email.me> (permalink)
References (10 earlier) <nf645h$432$2@dont-email.me> <nf64n3$432$3@dont-email.me> <nf88li$16k8$1@gioia.aioe.org> <nf8ak5$2ss$2@dont-email.me> <nf8f5s$1hvr$1@gioia.aioe.org>

Followups directed to: be.comp.os.linux

Show all headers | View raw


On Wednesday 20 Apr 2016 19:44, Vito conveyed the following to 
be.comp.os.linux...

> Op 20-04-16 om 18:30 schreef Aragorn:
> 
>>> OK, het werkt, zowel met default dir als met de opgegeven
>>> directory!!
>>>
>>> Heel heel heel erg bedankt.
>>
>> Ik zal het hem zeggen als ik hem nog eens tegen kom. :p
>>
>> (Da's een plaatselijk grapje. ;))
>>
> 
> Er is wel 1 ding dat ik niet begrijp:
> 
> # And let's play it in VLC while freeing up the shell again.
> #
> vlc "${file2play}" &
> #
> 
> Behalve dat vlc begint te spelen, wat doet de shell dan? Terug naar
> prompt?

Normaal gezien zou dat VLC in de achtergrond moeten starten — dat is 
waar die ampersand aan het eind voor dient ─ en dus de shell terug 
vrijgeven, zodat het script kan eindigen.  

Zonder die ampersand blijft het script normaal gezien wachten op het 
sluiten van VLC voor het verder loopt.

> Nu is het zo dat de  shell vlc blijft volgen, als de video is
> afgespeeld en ik sluit vlc gaat de shell niet naar prompt.
> Geen erg en misschien is dat wel normaal ...

Nee, dat is niet normaal.  Dat is zelfs heel vreemd. :-/

Ik heb het script aan het eind nu een expliciet exit commando 
meegegeven.  Het heeft nu wel een andere naam, maar probeer het nu 
eens...?

   http://users.telenet.be/stryder/Linux/Shell/random_play

-- 
= Aragorn =

         http://www.linuxcounter.net - registrant #223157

Back to be.comp.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

bash scriptje Vito <vito@invalid.invalid> - 2016-04-19 15:28 +0200
  Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 15:39 +0200
    Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 15:44 +0200
      Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 16:29 +0200
        Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-19 17:45 +0200
          Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 17:55 +0200
            Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-19 18:18 +0200
              Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 19:00 +0200
                Re: bash scriptje Lieven Marchand <mal@wyrd.be> - 2016-04-19 19:31 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 19:48 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-19 22:07 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 22:25 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 22:27 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-19 22:36 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-20 17:53 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-20 18:30 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-20 19:44 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-20 20:07 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-20 20:38 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-20 20:56 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-20 21:29 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-20 21:51 +0200
                Re: bash scriptje Lieven Marchand <mal@wyrd.be> - 2016-04-20 22:31 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 11:01 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 11:59 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-21 12:58 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 13:34 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 14:19 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-21 14:25 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 14:44 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-04-21 15:23 +0200
                Re: bash scriptje Vito <vito@invalid.invalid> - 2016-04-21 15:48 +0200
                Re: bash scriptje Eddy Wally <eddy@haeven.com> - 2016-06-14 09:55 +0200
                Re: bash scriptje wimpunk <ybwdlapvxvun@spammotel.com> - 2016-06-14 10:31 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-06-14 16:07 +0200
                Re: bash scriptje Lieven Marchand <mal@wyrd.be> - 2016-06-14 20:17 +0200
                Re: bash scriptje wimpunk <ybwdlapvxvun@spammotel.com> - 2016-06-15 08:32 +0200
                Re: bash scriptje Eddy Wally <eddy@haeven.com> - 2016-06-15 13:04 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-06-15 16:03 +0200
                Re: bash scriptje Lieven Marchand <mal@wyrd.be> - 2016-06-15 16:13 +0200
                Re: bash scriptje Aragorn <thorongil@telenet.be.invalid> - 2016-06-15 17:33 +0200
                Re: bash scriptje Eddy Wally <eddy@haeven.com> - 2016-06-16 13:23 +0200

csiph-web