diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-18 21:37:02 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-18 21:37:02 +0300 |
commit | 2efc087cd4f70c07523b82941259a5d2597b4460 (patch) | |
tree | 46d1ba26e158cc5a04ae857d2976a694732c47a6 /contrib/winedbg-pid | |
parent | fcadd18b07e55f4a6d21f9f378de9ded25be7e67 (diff) |
Add some tools
Diffstat (limited to 'contrib/winedbg-pid')
-rwxr-xr-x | contrib/winedbg-pid | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/winedbg-pid b/contrib/winedbg-pid new file mode 100755 index 0000000..0c04115 --- /dev/null +++ b/contrib/winedbg-pid @@ -0,0 +1,4 @@ +#!/bin/sh +# usage: winedbg-pid process-name +# Get windows process id with process name +winedbg --command 'info process' | awk '/'"${@:-0xdeadbeef}"'/ { print strtonum("0x"$1) }' |