From: Vitaly Lipatov <LAV@VL3143.spb.edu> To: mandrake-russian@altlinux.ru, Maxim Mitrofanov <mdk@anker.ru> Subject: Re: [mdk-re] nohup для последовательности команд Date: Tue Apr 2 20:01:44 2002 Message-ID: <20020402155217.532D12221A@VL3143.spb.edu> (raw) In-Reply-To: <20020402025318.8D4161A8FE@mail.anker.ru> On 2 April 2002 06:51, Maxim Mitrofanov wrote: > > Пришлось провести небольшой эксперемент с двумя скриптами, вобщем > exec $(ls script.sh) & - не работает, покрайней мере я не заметил > следов работы script.sh. Потом "естественно" ;) почитал man bash и там А если всё-таки написать там ls ./script.sh? Если каталога ./ в PATH нет, что естественно, то команда script.sh у вас конечно не запускается... > > Compound Commands > A compound command is one of the following: > > (list) list is executed in a subshell. Variable assign- > ments and builtin commands that affect the shell's > environment do not remain in effect after the com- > mand completes. The return status is the exit sta- > tus of list. Это практически не имеет отношения > > Из чего следует что $() & - тоже должна работать Разве что $ убрать > > Виталий если есть какие-либо соображения - рад буду их услыщать для > полноты и ясности картины. См. выше :) -- Lav Виталий Липатов ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург GNU! Linux! LaTeX! LyX!
next prev parent reply other threads:[~2002-04-02 20:01 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-01 11:10 Maxim Mitrofanov 2002-04-01 11:18 ` cornet 2002-04-01 11:58 ` Maxim Mitrofanov 2002-04-01 12:07 ` cornet 2002-04-01 21:39 ` Vitaly Lipatov 2002-04-02 6:51 ` Maxim Mitrofanov 2002-04-02 11:02 ` [mdk-re] " Michael Shigorin 2002-04-02 13:12 ` Maxim Mitrofanov 2002-04-02 14:26 ` [mdk-re] [JT] " Michael Shigorin 2002-04-02 14:53 ` Maxim Mitrofanov 2002-04-02 20:01 ` Vitaly Lipatov [this message] 2002-04-02 11:45 ` [mdk-re] " cornet
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=20020402155217.532D12221A@VL3143.spb.edu \ --to=lav@vl3143.spb.edu \ --cc=mandrake-russian@altlinux.ru \ --cc=mdk@anker.ru \ /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 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