Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 313719] Reference agent: argv[0] is missing in the execve() for Processes.start command

https://bugs.eclipse.org/bugs/show_bug.cgi?id=313719 
Product/Component: Target Management / TCF

Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |eugene.tarassov@windriver.c
                   |                            |om
         Resolution|                            |INVALID

--- Comment #2 from Eugene Tarassov <eugene.tarassov@xxxxxxxxxxxxx> 2010-05-20 14:44:21 EDT ---
Yes, the service does not add process image filename as argv[0]. It is
intensional.

While argv[0] should point to a filename that is associated with the process
being started, it is not always same as process image filename, which can
instead point to a shell or interpreter.

Correct way to start /bin/ls is:

Processes start "/home" "/bin/ls" ["/bin/ls","arg1","arg2"] [] false

I have updated docs to reflect that.

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top