Re: [SLE] How to spawn another shell script in separate process
From: Carl William Spitzer IV (cwsiv_at_juno.com)
Date: 10/19/03
- Previous message: Felix Miata: "Re: [SLE] download suse"
- Maybe in reply to: Carlos E. R.: "Re: [SLE] How to spawn another shell script in separate process"
- Next in thread: Graham Smith: "Re: [SLE] How to spawn another shell script in separate process"
- Reply: Graham Smith: "Re: [SLE] How to spawn another shell script in separate process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Sat, 18 Oct 2003 21:49:25 PDT
Does bash allow for functions?
CWSIV
On Fri, 17 Oct 2003 12:26:26 -0700 Kastus <NOSPAM@tprfct.net> writes:
>Parent process DOES exit. Please try yourself the following example:
>
>a.sh:
>--------------------------------
>#!/bin/bash
>date
>echo in a.sh before calling b.sh
>echo a.sh runs as PID $$
>./b.sh &
>date
>echo b.sh started in background
>-------------------------------
>
>b.sh:
>------------------------------
>#!/bin/bash
>echo running sleep...
>sleep 20
>echo back from sleep
>-----------------------------
>
>kastus@kastus:~> ./a.sh
>Fri Oct 17 12:21:48 PDT 2003
>in a.sh before calling b.sh
>a.sh runs as PID 6732
>Fri Oct 17 12:21:48 PDT 2003
>b.sh started in background
>kastus@kastus:~> running sleep...
>
>kastus@kastus:~> ps x |grep 6732
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Felix Miata: "Re: [SLE] download suse"
- Maybe in reply to: Carlos E. R.: "Re: [SLE] How to spawn another shell script in separate process"
- Next in thread: Graham Smith: "Re: [SLE] How to spawn another shell script in separate process"
- Reply: Graham Smith: "Re: [SLE] How to spawn another shell script in separate process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|