aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/priv/bin
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-02-23 15:58:42 +0100
committerSiri Hansen <[email protected]>2011-02-28 17:17:41 +0100
commit7405f353d3f06f2a4207f382d91435adbe9c9160 (patch)
tree8433f96ba1111df165589491774688aa067fdaee /lib/observer/priv/bin
parent38fc7a0eb46167a27ebac41452ecd1fb0de8803c (diff)
downloadotp-7405f353d3f06f2a4207f382d91435adbe9c9160.tar.gz
otp-7405f353d3f06f2a4207f382d91435adbe9c9160.tar.bz2
otp-7405f353d3f06f2a4207f382d91435adbe9c9160.zip
Add shell script and .bat file to start crashdump_viewer
Since browsers no longer can provide the full path of a file selected with a file-type input field (browse button), the input field for loading a crashdump is now changed to a plain text input field. Since this reduces the user-friendlyness, a shell script (and a .bat file) has instead been added so the crashdump_viewer can be started directly from the command line - and thus normal tab completion can be used for selecting the crashdump file. Usage: cdv file [ browser ]
Diffstat (limited to 'lib/observer/priv/bin')
-rwxr-xr-xlib/observer/priv/bin/cdv4
-rw-r--r--lib/observer/priv/bin/cdv.bat2
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/observer/priv/bin/cdv b/lib/observer/priv/bin/cdv
new file mode 100755
index 0000000000..1c44785ac2
--- /dev/null
+++ b/lib/observer/priv/bin/cdv
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+erl -sname cdv -noinput -s crashdump_viewer script_start $@
+
diff --git a/lib/observer/priv/bin/cdv.bat b/lib/observer/priv/bin/cdv.bat
new file mode 100644
index 0000000000..efa8bf8687
--- /dev/null
+++ b/lib/observer/priv/bin/cdv.bat
@@ -0,0 +1,2 @@
+@ECHO OFF
+CALL werl -sname cdv -s crashdump_viewer script_start %*