Hey guys,
Trying to write a cross platform bot, and having problems with Mac of all things, under windoz its working and under linux its working but on a mac its not..
Here is some code to outline the issue:
Code:
using System;
using System.Diagnostics;
namespace proctest
{
class ProcTest
{
static void Main(string[] args)
{
Console.Out.WriteLine("Processes:");
foreach(Process proc in Process.GetProcesses())
{
Console.Out.WriteLine(proc.ProcessName);
}
}
}
}
so under windows I get a process list, under linux I get a process list, under mac I get 2, mono and monodevelop
Not sure how to attach to a proc w/ mono c# on mac,
Has anyone ever tried this? Am I just so newb that its avoiding me?
OP if this is again the wrong place please delete