Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Proc-FastSpawn CPAN distribution.

Report information
The Basics
Id: 127515
Status: new
Priority: 0/
Queue: Proc-FastSpawn

Owner: Nobody in particular
Requestors: felipe [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Set $! after exec() failure?
Date: Mon, 29 Oct 2018 15:13:20 -0400
To: bug-Proc-FastSpawn [...]
From: Felipe Gasper <felipe [...]>
Download (untitled) / with headers
text/plain 518b
Hello, I’ve got a patch that sets $! when the child process’s execve() fails. This, of course, strictly speaking violates the vfork documentation (which mandates that nothing happen between vfork and either successful execve or exit), but it will allow detection in the parent of execve() failure, which is hugely valuable: - If !$pid: $! is vfork() error - If !!$pid but $!: $! is execve() error It seems to work in my testing; what do you think? Thanks for your time! -Felipe Gasper Mississauga, Ontario

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to