This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Latest CVS (2004-01-18 13:00 GMT+1) launch from windows
- From: Philippe Torche <philippe dot torche at jle dot ch>
- To: cygwin at cygwin dot com
- Date: Mon, 19 Jan 2004 01:22:09 +0100
- Subject: Latest CVS (2004-01-18 13:00 GMT+1) launch from windows
- Organization: JLE informatique
- Reply-to: philippe dot torche at jle dot ch
I'm running the attached sh script from WinXP "Scheduled Tasks" and see
that curl launch defunct sh (or bash if used instead of sh).
curl can be replace by : ls, ... to see the same problem.
Command in the task sheduler (Same effect from the run program dialog) :
D:\cygwin\bin\bash.exe -c "/cygdrive/d/DATA/divers/mcafee_dat_update.sh"
THEN CURL RUNS :
$ procps -ef
UID PID PPID C STIME TTY TIME CMD
pto 2624 1 0 14:29 ? 00:00:00 /usr/bin/bash --login -i
pto 2556 1 1 14:53 ? 00:00:00 <defunct>
pto 1884 2556 6 14:53 ? 00:00:00 curl -l
ftp://ftp.mcafee.com/pu
pto 2224 2624 1 14:53 ? 00:00:00 procps -ef
AFTER CURL RUNS :
$ procps -ef
UID PID PPID C STIME TTY TIME CMD
pto 2624 1 0 14:29 ? 00:00:00 /usr/bin/bash --login -i
pto 2556 1 0 14:53 ? 00:00:00 <defunct>
pto 3036 2624 1 14:53 ? 00:00:00 procps -ef
Each day better, thanks.
#!/bin/bash
TMPFILE=`mktemp -t mcafee_eng_update.sh.XXXXXXXXXX` || exit 1
echo TMPFILE=$TMPFILE
URL='ftp://ftp.mcafee.com/pub/antivirus/datfiles/4.x/'
echo URL=$URL
curl -l $URL > $TMPFILE
if [ $? -ne 0 ]; then
echo "Error : curl list fail"
exit 1
else
echo "File list found"
fi
lastestFile=`grep -i "dat-....\.zip" $TMPFILE`
if [ $? -ne 0 ]; then
echo "Error : no super date file"
exit 1
fi
echo lastestFile=$lastestFile
if [ -e "$lastestFile" ]; then
echo "Nothing to do"
exit 0
fi
curl --remote-name $URL$lastestFile
if [ $? -ne 0 ]; then
echo "Error : Curl transfert"
exit 1
fi
echo "End of transfert"
net stop McShield
net stop MCVSRte
/bin/unzip -o $lastestFile -d /cygdrive/c/Program\ Files/McAfee.com/VSO
net start McShield
net start MCVSRte
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun Jan 18 14:58:49 2004
Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
Path: .
D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\util
d:\Perl\bin\
D:\cygwin\bin
d:\Program Files\Microsoft SQL Server\80\Tools\BINN
c:\Program Files\Microsoft SQL Server\80\Tools\BINN
d:\PROGRA~1\CMake\bin
d:\Program Files\doxygen\bin
D:\cygwin\home\pto\bin
c:\PROGRA~1\HTMLHE~1
Output from D:\cygwin\bin\id.exe (nontsec)
UID: 1003(pto) GID: 545(Users)
545(Users)
Output from D:\cygwin\bin\id.exe (ntsec)
UID: 1003(pto) GID: 545(Users)
513(None) 544(Administrators)
545(Users) 1004(Debugger Users)
SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
CYGWIN = `tty'
HOME = `D:\cygwin\home\pto'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/DATA/divers'
USER = `pto'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users.WINDOWS'
APPDATA = `C:\Documents and Settings\pto.PTO1\Application Data'
BASH_ENV = `/home/pto/.bashrc'
CLIENTNAME = `Console'
COLUMNS = `80'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PTO1'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `:ext:pto@jle1:/jle'
CVS_RSH = `ssh'
DISPLAY = `:0.0'
EDITOR = `vim'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\pto.PTO1'
INCLUDE = `D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;D:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\'
LIB = `D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;D:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\'
LINES = `25'
LOGONSERVER = `\\PTO1'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PHP'
PATH_COPY = `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\util;D:\Perl\bin\;D:\cygwin\bin'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 4, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0404'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\TEMP\pto'
TERM = `cygwin'
TMP = `c:\TEMP\pto'
USERDOMAIN = `PTO1'
USERNAME = `pto'
USERPROFILE = `C:\Documents and Settings\pto.PTO1'
VS71COMNTOOLS = `D:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\'
VSCOMNTOOLS = `"D:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Apps\Cygnus Solutions
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `D:/cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `D:/cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `D:/cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 32051Mb 28% CP CS UN PA FC HD1V1
d: hd NTFS 124276Mb 32% CP CS UN PA FC HD1V2
l: cd CDFS 619Mb 100% CS UN MOBICLIC44
m: cd N/A N/A
. /cygdrive user binmode,cygdrive
D:/cygwin / system binmode
D:/cygwin/bin /usr/bin system binmode
D:/cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\mv.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe
61k 2003/08/09 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2003/8/9 8:35
14k 2003/08/10 D:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2003/8/10 22:57
7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
842k 2003/09/30 D:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2003/9/30 18:49
598k 2003/11/03 D:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-2.dll" v0.0 ts=2003/11/3 17:22
831k 2003/09/20 D:\cygwin\bin\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb-4.1.dll" v0.0 ts=2003/9/20 23:51
1080k 2003/09/20 D:\cygwin\bin\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb_cxx-4.1.dll" v0.0 ts=2003/9/20 23:53
155k 2004/01/07 D:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2004/1/7 17:14
45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 7:28
35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 7:03
48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 11:25
28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
30k 2003/08/11 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
19k 2003/03/22 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/20 4:05
15k 2003/07/20 D:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
15k 2003/08/11 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
69k 2003/08/10 D:\cygwin\bin\cyggettextlib-0-12-1.dll - os=4.0 img=1.0 sys=4.0
"cyggettextlib-0-12-1.dll" v0.0 ts=2003/8/11 0:10
12k 2003/08/10 D:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
"cyggettextpo-0.dll" v0.0 ts=2003/8/11 0:11
134k 2003/08/10 D:\cygwin\bin\cyggettextsrc-0-12-1.dll - os=4.0 img=1.0 sys=4.0
"cyggettextsrc-0-12-1.dll" v0.0 ts=2003/8/11 0:10
17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 5:34
29k 2003/08/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2003/8/11 1:16
958k 2003/08/10 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2003/8/10 22:57
22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 23:50
26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 7:27
20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 7:03
29k 2003/08/09 D:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 11:25
156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 7:17
202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 7:03
224k 2003/08/09 D:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 11:24
15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 7:27
12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 7:03
19k 2003/08/09 D:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 11:24
62k 2003/12/11 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2003/12/11 18:01
63k 2003/04/11 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2003/4/11 10:31
9k 2003/12/11 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2003/12/11 18:01
61k 2003/04/11 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
1049k 2003/11/07 D:\cygwin\bin\cygperl5_8_2.dll - os=4.0 img=1.0 sys=4.0
"cygperl5_8_2.dll" v0.0 ts=2003/11/7 12:08
173k 2003/08/10 D:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
"cygpng12.dll" v0.0 ts=2003/8/11 0:35
22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 5:34
148k 2003/08/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2003/8/11 1:16
171k 2003/09/30 D:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.7.dll" v0.0 ts=2003/9/30 18:49
254k 2003/09/18 D:\cygwin\bin\cygtidy-0-99-0.dll - os=4.0 img=1.0 sys=4.0
"cygtidy-0-99-0.dll" v0.0 ts=2003/9/18 17:52
1094k 2004/01/01 D:\cygwin\bin\cygwin1-20031231.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2003/12/31 7:35
1094k 2004/01/03 D:\cygwin\bin\cygwin1-20040103.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2004/1/3 19:20
1085k 2004/01/14 D:\cygwin\bin\cygwin1-20040114.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2004/1/14 19:25
60k 2003/08/09 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2003/8/9 8:28
6615k 2004/01/17 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2004/1/17 19:23
Cygwin DLL version info:
DLL version: 1.5.6
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 108
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jan 17 19:23:00 WEST 2004
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: e:\ori\cygwin\SetupDir
Last downloaded files from: ftp://sunsite.cnlab-switch.ch/mirror/cygwin
Package Version
_update-info-dir 00225-1
ash 20031007-1
astyle 1.15.3-3
autoconf 2.59-1
autoconf-devel 2.59-1
autoconf-stable 2.13-5
automake 1.7.9-1
automake-devel 1.7.9-1
automake-stable 1.4p6-2
base-files 2.6-1
base-passwd 1.1-1
bash 2.05b-16
bc 1.06-1
binutils 20030901-1
bison 20030307-1
byacc 1.9-1
bzip2 1.0.2-5
ccdoc 0.8.39-1
check 0.8.4-1
cmake 1.8.3-1
cron 3.0.1-11
crypt 1.1-1
ctags 5.5-4
curl 7.10.8-1
curl-devel 7.10.8-1
cvs 1.11.6-3
cygrunsrv 0.97-1
cygutils 1.2.2-1
cygwin 1.5.5-1
cygwin-doc 1.3-6
dejagnu 20021217-2
diffutils 2.8.4-1
editrights 1.01-1
exim 4.24-1
expat 1.95.7-1
expect 20030128-1
fileutils 4.1-2
findutils 4.1.7-4
flex 2.5.4a-3
gawk 3.1.3-4
gcc 3.3.1-3
gcc-g++ 3.3.1-3
gcc-mingw 20030911-4
gcc-mingw-core 20031020-1
gcc-mingw-g++ 20031020-1
gdb 20030919-1
gdbm 1.8.3-7
grep 2.5-1
groff 1.18.1-2
gzip 1.3.5-1
indent 2.2.8-1
less 381-1
lftp 2.6.10-1
libbz2_1 1.0.2-5
libcharset1 1.9.1-3
libdb4.1 4.1.25-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libgettextpo0 0.12.1-3
libiconv 1.9.1-3
libiconv2 1.9.1-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libpcre 4.1-1
libpcre0 4.5-1
libpng12 1.2.5-4
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
login 1.9-7
m4 1.4-1
make 3.80-1
man 1.5k-2
mingw-runtime 3.2-1
mktemp 1.5-3
mutt 1.4.1-2
ncftp 3.1.4-1
ncurses 5.3-4
openssh 3.7.1p2-2
openssl 0.9.7c-1
openssl-devel 0.9.7c-1
patch 2.5.8-8
patchutils 0.2.22-2
pcre 4.5-1
pcre-doc 4.5-1
perl 5.8.2-1
pinfo 0.6.8-1
procps 010801-2
readline 4.3-5
rebase 2.2-3
rsync 2.5.7-2
rxvt 2.7.10-3
sed 4.0.8-1
sh-utils 2.0.15-4
sharutils 4.2.1-3
ssmtp 2.38.7-4
stunnel 4.04-3
tar 1.13.25-5
tcltk 20030901-1
termcap 20021106-2
terminfo 5.3_20030726-1
texinfo 4.2-4
textutils 2.0.21-1
tidy 030901-1
unzip 5.50-5
uw-imap 2002e-3
vim 6.2.098-1
w32api 2.4-1
wget 1.9.1-1
which 1.5-2
wtf 0.0.4-6
zip 2.3-5
zlib 1.1.4-4
Use -h to see help about each section
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/