From a679f387e200582e7a3bc1dae7401cf4114afac6 Mon Sep 17 00:00:00 2001 From: Claes Wikstrom Date: Wed, 20 May 2009 17:13:20 +0200 Subject: [PATCH 1/2] --load and --id togehtehr didn't work --- scripts/yaws.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/yaws.template b/scripts/yaws.template index acff5a0db..00ad3ce7d 100755 --- a/scripts/yaws.template +++ b/scripts/yaws.template @@ -187,7 +187,7 @@ while [ $# -gt 0 ] -S|--status) ex="$erl -noshell -pa ${yawsdir}${delim}ebin -s yaws_ctl status";; -load|--load) - $erl -noshell -pa ${yawsdir}${delim}ebin -s yaws_ctl load ${id} $* + $erl -noshell -pa ${yawsdir}${delim}ebin -s yaws_ctl load $* ${id} exit 0;; --debug-dump) $erl -noshell -pa ${yawsdir}${delim}ebin -s yaws_ctl debug_dump ${id} From 385ae0782cc637f52ae6e7cb9f5f757f91eb0c84 Mon Sep 17 00:00:00 2001 From: Claes Wikstrom Date: Mon, 1 Jun 2009 13:44:47 +0200 Subject: [PATCH 2/2] Better error msg if erl is not found for win32 users --- win32/yaws.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win32/yaws.c b/win32/yaws.c index 1c75dbdf6..bb1e5f993 100644 --- a/win32/yaws.c +++ b/win32/yaws.c @@ -64,6 +64,8 @@ int runwait(char *execString) { return ret; } printf("Failed to create the process entirely\n"); + printf("Tried to invoke: <%s> \n", execString); + printf("Make sure you have in your environment PATH \n"); return 1; }