aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Leger2012-08-06 09:53:30 (EDT)
committerAnton Leherbauer2012-08-06 09:53:30 (EDT)
commitbddd46b1d09272d46682a3e7eba6799605fba918 (patch)
tree0d28a30f9b32a229c99bf82212651226b7abcc49
parentbcabd015ac452a5749cd8d8dd510ba7bbc7ea2f3 (diff)
downloadorg.eclipse.tcf-bddd46b1d09272d46682a3e7eba6799605fba918.zip
org.eclipse.tcf-bddd46b1d09272d46682a3e7eba6799605fba918.tar.gz
org.eclipse.tcf-bddd46b1d09272d46682a3e7eba6799605fba918.tar.bz2
TCF Python: Bug 386552 - Missing processes properties in processes_v1.py
-rw-r--r--python/src/tcf/services/processes_v1.py28
1 files changed, 19 insertions, 9 deletions
diff --git a/python/src/tcf/services/processes_v1.py b/python/src/tcf/services/processes_v1.py
index 0e31f4c..2218100 100644
--- a/python/src/tcf/services/processes_v1.py
+++ b/python/src/tcf/services/processes_v1.py
@@ -1,5 +1,5 @@
-# *******************************************************************************
-# * Copyright (c) 2011 Wind River Systems, Inc. and others.
+# *****************************************************************************
+# * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License v1.0
# * which accompanies this distribution, and is available at
@@ -7,7 +7,7 @@
# *
# * Contributors:
# * Wind River Systems - initial API and implementation
-# *******************************************************************************
+# *****************************************************************************
"""
Extension of Processes service.
@@ -23,24 +23,34 @@ NAME = "ProcessesV1"
START_ATTACH = "Attach"
# Boolean, auto-attach process children
START_ATTACH_CHILDREN = "AttachChildren"
+# Boolean, stop at process entry
+START_STOP_AT_ENTRY = "StopAtEntry"
+# Boolean, stop at main()
+START_STOP_AT_MAIN = "StopAtMain"
# Boolean, Use pseudo-terminal for the process standard I/O
START_USE_TERMINAL = "UseTerminal"
+
class ProcessesV1Service(processes.ProcessesService):
def getName(self):
return NAME
- def start(self, directory, file, command_line, environment, params, done):
+ def start(self, directory, filePath, command_line, environment, params,
+ done):
"""
Start a new process on remote machine.
@param directory - initial value of working directory for the process.
- @param file - process image file.
+ @param filePath - process image file.
@param command_line - command line arguments for the process.
- Note: the service does NOT add image file name as first argument for the process.
- If a client wants first parameter to be the file name, it should add it itself.
+ Note: the service does NOT add image file name as
+ first argument for the process. If a client wants
+ first parameter to be the file name, it should
+ add it itself.
@param environment - map of environment variables for the process,
- if None then default set of environment variables will be used.
- @param params - additional process start parameters as map, see START_* for supported keys.
+ if None then default set of environment variables
+ will be used.
+ @param params - additional process start parameters as map, see START_*
+ for supported keys.
@param done - call back interface called when operation is completed.
@return pending command handle, can be used to cancel the command.
"""