From 0bf34643014e1bd2de2bfff75adac6398ba551c7 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Sun, 29 Mar 2015 20:19:33 +0200 Subject: [PATCH] parallel: pid_table command for MSWin32. --- src/parallel | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/parallel b/src/parallel index d98eee08..ce809771 100755 --- a/src/parallel +++ b/src/parallel @@ -1051,7 +1051,7 @@ sub parse_options { sub init_globals { # Defaults: - $Global::version = 20150324; + $Global::version = 20150329; $Global::progname = 'parallel'; $Global::infinity = 2**31; $Global::debug = 0; @@ -3465,6 +3465,7 @@ sub which { 'linux' => $sysv, 'mirbsd' => $bsd, 'msys' => $sysv, + 'MSWin32' => $sysv, 'netbsd' => $bsd, 'nto' => $sysv, 'openbsd' => $bsd, @@ -4145,11 +4146,12 @@ sub loadavg_too_high { 'freebsd' => $bsd, 'gnu' => $bsd, 'hpux' => $psel, - 'irix' => 'ps -ef -o state -o comm', + 'irix' => $sysv2, 'linux' => $bsd, 'minix' => "ps el|awk '{print \$1,\$11}'", 'mirbsd' => $bsd, 'msys' => $sysv, + 'MSWin32' => $sysv, 'netbsd' => $bsd, 'nto' => $dummy, 'openbsd' => $bsd,