mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Disable mono specific code
This commit is contained in:
@@ -9,9 +9,12 @@ using System.Reflection;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
/*
|
||||||
|
// no supported by appveyor, disabeling for now
|
||||||
#if __MonoCS__
|
#if __MonoCS__
|
||||||
using Mono.Unix.Native;
|
using Mono.Unix.Native;
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
namespace Jackett.Updater
|
namespace Jackett.Updater
|
||||||
{
|
{
|
||||||
@@ -64,10 +67,13 @@ namespace Jackett.Updater
|
|||||||
var exited = proc.WaitForExit(5000);
|
var exited = proc.WaitForExit(5000);
|
||||||
if (!exited)
|
if (!exited)
|
||||||
Engine.Logger.Info("Process " + pid.ToString() + " didn't exit within 5 seconds");
|
Engine.Logger.Info("Process " + pid.ToString() + " didn't exit within 5 seconds");
|
||||||
|
/*
|
||||||
|
// no supported by appveyor, disabeling for now
|
||||||
#if __MonoCS__
|
#if __MonoCS__
|
||||||
Engine.Logger.Info("Sending SIGKILL to process " + pid.ToString());
|
Engine.Logger.Info("Sending SIGKILL to process " + pid.ToString());
|
||||||
Syscall.kill(proc.Id, Signum.SIGKILL);
|
Syscall.kill(proc.Id, Signum.SIGKILL);
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
catch (ArgumentException e)
|
catch (ArgumentException e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user