-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly set the app cmd and argv0 fields
Ensure that the cmd field always gets set, or return an error if it wasn't provided and neither was argv. If cmd is not set, then take it from argv0. Ensure that argv0 is always the basename of cmd so that the spawned app sees the expected name in that location. Fix a bug in the transferrence of the app's argv to the internal structure. Signed-off-by: Ralph Castain <rhc@pmix.org>
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters