summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/resources/httpd.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/resources/httpd.cmd')
-rw-r--r--native_client_sdk/src/resources/httpd.cmd8
1 files changed, 8 insertions, 0 deletions
diff --git a/native_client_sdk/src/resources/httpd.cmd b/native_client_sdk/src/resources/httpd.cmd
new file mode 100644
index 0000000..d7aec88
--- /dev/null
+++ b/native_client_sdk/src/resources/httpd.cmd
@@ -0,0 +1,8 @@
+@echo off
+setlocal
+
+PATH=%CYGWIN%;%PATH%
+REM Use the path to this file (httpd.cmd) to get the
+REM path to httpd.py, so that we can run httpd.cmd from
+REM any directory. Pass up to 9 arguments to httpd.py.
+python %~dp0\..\tools\httpd.py %1 %2 %3 %4 %5 %6 %7 %8 %9