View unanswered posts | View active topics

Reply to topic  [ 2 posts ] 
EventType.ProcessStart how do I find out what the process is 
Author Message

Joined: Wed Feb 04, 2009 3:22 pm
Posts: 184
Location: Scottsdale, AZ
Reply with quote
Hello Everyone,

I'm trying to trigger something in my plugin when an ant build begins. The ProcessStart event type gets fired when the ant plugin starts it's process, but I don't see anything in the NotifyEvent that allows me to know that the process started from ant, versus some other process such as building with F8 from FlashDevelop. is there a way to determine specifically what within FlashDevelop started the process so that I can conditionally code against it?

Tue Aug 23, 2016 4:07 pm
Profile YIM WWW

Joined: Mon Jul 06, 2009 8:14 am
Posts: 258
Reply with quote
As you have found out, there is no way to do it through ProcessStart event... although not ideal, it seems you could do it through EventType.Trace? Could you give it a try?

                String message2 = TextHelper.GetString("Info.RunningProcess");
                TraceManager.Add(message2 + " " + args.Substring(0, position) + " " + args.Substring(position + 1), (Int32)TraceType.ProcessStart);

Anyway, you can always propose any improvement to the API.

Fri Sep 02, 2016 11:17 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.