Closed GoogleCodeExporter closed 9 years ago
Incidentally, taskkill won't work on older versions of Windows, or on XP Home,
as is
noted in the comments. The equivalent for Windows 2000 and above is tkill,
which has
the syntax "tkill soffice". This is available on Windows XP, but isn't
available on
all versions of Windows Vista.
Original comment by inigo.su...@gmail.com
on 15 Jul 2009 at 2:26
Thanks for reporting this issue.
Your proposed solution unfortunately wouldn't work if there are multiple OOo
processes.
WindowsProcessManager#isUsable() does check if wmic and taskkill are available.
If
they're not, then PureJavaProcessManager is used instead. (So Home editions are
not a
problem.)
We can try and modify isUsable() to check that the wmic output is not "cannot be
run". Failing that, we'll need to always default to PureJavaProcessManager on
Windows.
Original comment by mirko.na...@gmail.com
on 16 Jul 2009 at 10:33
See also issue #82
Original comment by mirko.na...@gmail.com
on 13 Mar 2011 at 4:01
It's interesting to see what this behaviour will be when using Sigar. But you
will get access denied in Sigar as well and thus perhaps the same behaviour
Original comment by shervin.asgari@gmail.com
on 23 Mar 2011 at 10:58
My hope is that using Sigar will solve this sort of issues; in fact that's one
of the reason I suggested looking at Sigar.
A user may not have permission to execute wmic.exe, but it should still be able
to make native calls to find/kill processes started by the same user.
Original comment by mirko.na...@gmail.com
on 23 Mar 2011 at 12:35
WindowsProcessManager has now been removed in favour of SigarProcessManager -
see issue #82
Original comment by mirko.na...@gmail.com
on 3 Apr 2011 at 1:07
Original issue reported on code.google.com by
inigo.su...@gmail.com
on 15 Jul 2009 at 2:13