[Swift-commit] r2072 - trunk/libexec
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Sun Jun 15 18:38:44 CDT 2008
Author: benc
Date: 2008-06-15 18:38:44 -0500 (Sun, 15 Jun 2008)
New Revision: 2072
Modified:
trunk/libexec/wrapper.sh
Log:
log command line arguments in wrapper
Modified: trunk/libexec/wrapper.sh
===================================================================
--- trunk/libexec/wrapper.sh 2008-06-15 23:23:21 UTC (rev 2071)
+++ trunk/libexec/wrapper.sh 2008-06-15 23:38:44 UTC (rev 2072)
@@ -22,6 +22,8 @@
cat /proc/cpuinfo 2>&1 >& "$INFO"
infosection "/proc/meminfo"
cat /proc/meminfo 2>&1 >& "$INFO"
+ infosection "command line"
+ echo $COMMANDLINE 2>&1 >& "$INFO"
}
logstate() {
@@ -84,6 +86,7 @@
exec 3>&-
}
+COMMANDLINE=$@
WFDIR=$PWD
openinfo "wrapper.log"
ID=$1
More information about the Swift-commit
mailing list