summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
Commit message (Collapse)AuthorAgeFilesLines
* fix previous commit so that "prog1|prog2" like construction still workThierry Vignaud2005-10-071-1/+2
|
* fix buggy previous commit, cleanup and correctly indent. previous commit was:Pascal Rigaux2005-10-071-2/+10
| | | | | do not clober output files (stdout or stderr) when binary cannot be found (#18987)
* (raw) do not clober output files (stdout or stderr) when binary cannot be ↵Thierry Vignaud2005-10-071-0/+2
| | | | found (#18987)
* force our tmpdir to /root/tmp when root and not isInstallPascal Rigaux2005-09-141-2/+2
| | | | | (fixes installkernel being called with sudo and not sudo -H) (thanks to fred crozat!)
* fix return code when chroot can't be doneOlivier Blin2005-05-241-1/+1
|
* (raw) ensure runned programs are logged in explanationsThierry Vignaud2005-03-101-1/+1
|
* *** empty log message ***Pascal Rigaux2005-01-111-1/+1
|
* do not log the encrypted passwordPascal Rigaux2005-01-111-1/+2
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-4/+4
|
* since we don't use ramdisk but clp, some code is deadPascal Rigaux2004-11-181-4/+0
| | | | | (remove usingRamdisk(), check_prog(), remove_unused()...)
* do not use die when forked, use log::l + c::_exit insteadPascal Rigaux2004-10-261-6/+9
|
* don't check_prog when the prog is a complex command (containing a pipe)Pascal Rigaux2004-09-091-1/+1
|
* simplifyPascal Rigaux2004-09-091-1/+1
|
* rename $str into $real_namePascal Rigaux2004-09-091-4/+4
|
* remove redundant codePascal Rigaux2004-09-091-11/+8
|
* create ~/tmp when neededPascal Rigaux2004-04-261-2/+7
|
* don't print refs in log when output is redirectedPascal Rigaux2004-01-121-5/+5
| | | | | (nice patch from blino :)
* when called from commands.pm, install_any is not loadedPascal Rigaux2004-01-071-1/+4
|
* fix to enable drakconnect to be run in "install" mode while being a standaloneThierry Vignaud2003-12-291-1/+1
| | | | | tool
* introduce bg_command object that enable to fork a sub that give back dataThierry Vignaud2003-11-231-0/+23
| | | | | | through STDOUT a la run_program::get_stdout but w/ arbitrary perl code instead of external program and in background
* fix requires for c::_exit()Thierry Vignaud2003-10-271-0/+1
|
* better logging of killed runaway processesPascal Rigaux2003-09-151-1/+1
|
* added detach option to handle detached process running (for update-menus).Francois Pons2003-09-111-27/+31
|
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-2/+2
|
* perl_checker fixesThierry Vignaud2002-11-261-1/+1
|
* s/wantarray/wantarray()/Pascal Rigaux2002-11-151-2/+2
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-1/+1
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-1/+1
|
* allow the saving in perl variable to be done even if the exit status is not 0Pascal Rigaux2002-08-211-3/+2
|
* add get_stdout (similar to rooted_get_stdout)Pascal Rigaux2002-08-111-0/+7
|
* (raw): new function allowing special options like {timeout}Pascal Rigaux2002-08-061-3/+22
|
* - fix $ENV{HOME} value to '/root' if usermode break itDamien Chaumette2002-07-311-1/+1
|
* fix rooted() when chrooted and saving the result in a perl variablePascal Rigaux2002-07-291-4/+4
|
* (rooted_get_stdout): handle one line return using wantarrayPascal Rigaux2002-07-261-1/+1
|
* - also give the ability to redirect to an array refPascal Rigaux2002-07-261-2/+17
| | | | | - add rooted_get_stdout which is alike ``
* add 2 functionalities to run_program:Pascal Rigaux2002-07-261-12/+28
| | | | | | | | | | - run_program::run(prog, '>', 'STDOUT', ...) run_program::run(prog, '2>', 'STDERR, ...) which will run with verbatim stdout or stderr - run_program::run(prog, '>', \$s, ...) run_program::run(prog, '2>', \$s, ...) which will return the stdout (resp. stderr) of the program in $s
* remove assigning STDIN to /dev/null since:Pascal Rigaux2002-02-151-2/+0
| | | | | | - programs should not use STDIN - the "postInstall" script for auto_install's is more happy still having the STDIN.
* changed exit code of failed exec in rooted to 128 instead of 1 (may clash withFrancois Pons2001-07-121-2/+2
| | | | | exit code of fsck else).
* (rooted): don't call install_any::check_prog if rootedPascal Rigaux2001-04-111-1/+1
|
* in install, call install_any::check_prog to allow shadow progs which arePascal Rigaux2001-04-111-0/+1
| | | | | fetched when needed via getFile
* (run_or_die, rooted_or_die): createdPascal Rigaux2001-03-031-1/+9
|
* no_commentPascal Rigaux2000-09-221-2/+2
|
* no_commentPascal Rigaux2000-09-141-1/+1
|
* no_commentPascal Rigaux2000-06-071-2/+2
|
* no_commentPascal Rigaux2000-06-031-2/+2
|
* no_commentPascal Rigaux2000-04-171-2/+2
|
* no_commentPascal Rigaux1999-12-071-1/+4
|
* no_commentPascal Rigaux1999-11-241-2/+2
|
* no_commentPascal Rigaux1999-10-251-0/+3
|
* no_commentPascal Rigaux1999-09-271-3/+9
|