Opened 3 years ago

Last modified 3 years ago

#3896 accepted enhancement

more spawn support in util/process_spawn

Reported by: fdupont Owned by: fdupont
Priority: low Milestone: Windows
Component: Unclassified Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

WIN32 has no pause between the fork() and exec() so I had to change some details (documentation and one unit test) in the process spawn stuff. As we can have one day to support a platform where for any reason the spawn() system call has to be used in place if fork+exec (which has been considered harmful from a very long time: fork() is a performance pig cf. the number of attempts to design a faster variant...), I strongly suggest to update the current code (in fact doc + one test) at the occasion.

Subtickets

Change History (2)

comment:1 Changed 3 years ago by fdupont

  • Owner set to fdupont
  • Status changed from new to accepted

comment:2 Changed 3 years ago by hschempf

  • Milestone changed from Kea-proposed to Windows
Note: See TracTickets for help on using tickets.