plainbox:providers:stubbox: add win.pxu

This patch adds a windows-specific unit file which defines a simple
"pass" style shell job that
is suitable for running on Windows.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:runner: fail gracefully when no execution controller is available

This patch changes the JobRunner to fail gracefully by returning the
OUTCOME_NOT_SUPPORTED
result when none of the execution controllers is capable of running the
requested job.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:vendor:extcmd: don't SIGKILL stuff on windows

On windows, signal.kill(9) raises ValueError thus terribly breaking all
subsequent thread termination
code. To prevent this two checks are made:
- if signal.SIGKILL doesn't exist we don't try to SIGKILL anything
- if the process exits gracefully we don't try to terminate it again

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:ctrl: add support for user jobs on win32 [wip[

This patch adds rough support for user jobs on win32 environments.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>