| Summary: | Reference agent: argv[0] is missing in the execve() for Processes.start command | ||
|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Lianhao Lu <lianhao.lu> |
| Component: | Core | Assignee: | Project Inbox <dsdp.tm.tcf-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, eugene |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Lianhao Lu
This kind of missing argv[0] would cause "/bin/ls" behave abnormally. 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. Moving bugs to new home for IP log. |