Skip to content

[BZ-1534] ACE_Process::spawn() w/ avoid_zombies should return real process id #1534

@jwillemsen

Description

@jwillemsen
Field Value
Bugzilla ID 1534
Reporter cumminss
Assigned to @shuston
Product ACE
Component ACE Core
Version 5.3.1
Platform / OS x86 / Linux
Priority P3
Severity normal
Status NEW
Resolution
Created 2003-06-11 15:30:31 -0500

Originally posted by cumminss on 2003-06-11 15:30:31 -0500


The ACE_Process::getpid() function doesn't always return the process ID. If
ACE_Process_Options::avoid_zombies(1) is used on the option struct passed to
ACE_Process::spawn(), then the getpid() will return 1 if the process started
successfuly rather than the child pid. Either the function or documentation
should be modified to note this distinction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions