public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: swagiaal: use Manageer.host to create live proc from dead one
@ 2008-03-11 21:33 swagiaal
  0 siblings, 0 replies; only message in thread
From: swagiaal @ 2008-03-11 21:33 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  ed18197ea88aaff1e49c892c1862befcd9d71f7e (commit)
      from  7738b08136d36420784885c1bc19d260a936ade8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ed18197ea88aaff1e49c892c1862befcd9d71f7e
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Tue Mar 11 17:29:42 2008 -0400

    swagiaal: use Manageer.host to create live proc from dead one
    
    frysk-core/frysk/util/ChangeLog
    +2008-03-11  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* ProcRunUtil.java (.parseCommand): Pass template proc
    +	to host for creating live proc.
    +

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/util/ChangeLog        |    5 +++++
 frysk-core/frysk/util/ProcRunUtil.java |   17 +----------------
 2 files changed, 6 insertions(+), 16 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog
index b2d6f27..ceb09a5 100644
--- a/frysk-core/frysk/util/ChangeLog
+++ b/frysk-core/frysk/util/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-11  Sami Wagiaalla  <swagiaal@redhat.com> 
+
+	* ProcRunUtil.java (.parseCommand): Pass template proc
+	to host for creating live proc.
+
 2008-03-11  Sami Wagiaalla  <swagiaal@redhat.com>
 
 	* FCatch.java: Remove cached stack trace if	new stack
diff --git a/frysk-core/frysk/util/ProcRunUtil.java b/frysk-core/frysk/util/ProcRunUtil.java
index 073e777..71bb6f1 100644
--- a/frysk-core/frysk/util/ProcRunUtil.java
+++ b/frysk-core/frysk/util/ProcRunUtil.java
@@ -39,7 +39,6 @@
 
 package frysk.util;
 
-import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Set;
@@ -101,21 +100,7 @@ public class ProcRunUtil {
 
 	    // @Override
 	    public void parseCommand(Proc command) {
-
-		//Exctact arguments and executable from give Proc object
-		ArrayList commandAndArguments;
-		String[] line = command.getCmdLine();
-		commandAndArguments = new ArrayList();
-		for (int i = 0; i < line.length; i++){
-		    commandAndArguments.add(line[i]);
-		}
-		
-		//Create a live process using the extracted command.
-		// attachedObserver will handle adding of the remaining
-		// observers.
-		Manager.host.requestCreateAttachedProc(
-			(String[]) commandAndArguments.toArray(new String[0]),
-			attachedObserver);
+		Manager.host.requestCreateAttachedProc(command, attachedObserver);
 	    }
 	};
 


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-11 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 21:33 [SCM] master: swagiaal: use Manageer.host to create live proc from dead one swagiaal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).