Главная страница


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : Michael Spector                      2:5020/400     01 Oct 2002  10:44:54
 To : Theodore Alexandrov
 Subject : Re: system(system(....
 -------------------------------------------------------------------------------- 
 
 Mon Sep 30 2002 23:52, Theodore Alexandrov wrote to Michael Spector:
 
  TA> From: Theodore Alexandrov <theo@pdmi.ras.ru>
 
 Pochemu togda esli ya zapuskayu srazu vtoroj script - on rabotaet ???
 
  TA> В environment ничего не меняется. Всё окружение первого процессса
  TA> копируется, то есть во втором твой path будет идентичен первому,
  TA> который, без явного указания, наследует его от твоего shell. 
 
  TA> И если у тебя tar не запускается, то это вовсе не проблемы запуска 
  TA> посредством вызова system(), а проблемы в настройке системы и
  TA> переменной окружения path.
 
  >>>>>> "MS" == Michael Spector <spektom@macs.biu.ac.il> writes:
 
  MS>> Hi All,
  MS>> Chto zhe eto proishodit ?
 
  MS>> #~ cat test1.pl
  MS>> #!perl.exe
 
  MS>> system("test2.pl");
  MS>> #~ cat test2.pl
  MS>> system("tar zcvf dir.tgz dir/*")
 
  MS>> a on (test2.pl) ne mozhet najti commandu "tar".
 
  MS>> Chto menyaetsya kogda vyzyvayut perl script iz perl scripta posredstvom 
  MS>> system(), exec() ?
 
 --- ifmail v.2.15dev5
  * Origin: FidoNet Online - http://www.fido-online.com (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 system(system(....   Michael Spector   30 Sep 2002 20:07:15 
 Re: system(system(....   vilfred   30 Sep 2002 20:52:34 
 Re: system(system(....   Michael Spector   30 Sep 2002 21:05:13 
 Re: system(system(....   vilfred   30 Sep 2002 22:54:15 
 Re: system(system(....   Michael Spector   01 Oct 2002 10:42:52 
 Re: system(system(....   Artem Chuprina   01 Oct 2002 11:44:02 
 Re: system(system(....   Michael Spector   01 Oct 2002 12:16:43 
 Re: system(system(....   Theodore Alexandrov   30 Sep 2002 23:52:05 
 Re: system(system(....   Michael Spector   01 Oct 2002 10:44:54 
 Re: system(system(....   Theodore Alexandrov   02 Oct 2002 02:16:50 
Архивное /ru.perl/16679d9947158.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional