devel/p5-Proc-FastSpawn 1.2 FreeBSD
fork+exec, or spawn, a subprocess as quickly as possible
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.4 KiB, 22.9 KiB installed
Description
The purpose of this small (in scope and footprint) module is simple: spawn a subprocess asynchronously as efficiently and/or fast as possible. Basically the same as calling fork+exec (on POSIX), but hopefully faster than those two syscalls.
Apart from fork overhead, this module also allows you to fork+exec programs when otherwise you couldn't - for example, when you use POSIX threads in your perl process then it generally isn't safe to call fork from perl, but it is safe to use this module to execute external processes.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Proc-FastSpawn | 1.2 |
| DragonFly | devel/p5-Proc-FastSpawn | 1.2 |
Install
Binary package:
pkg install p5-Proc-FastSpawn
From the ports tree:
cd /usr/ports/devel/p5-Proc-FastSpawn/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Proc-FastSpawn>0:devel/p5-Proc-FastSpawn
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| FreeBSD:14:quarterly | 1.2 | 1.2 | n/a | 1.2 | 1.2 |
| FreeBSD:15:latest | 1.2 | 1.2 | n/a | 1.2 | 1.2 |
| FreeBSD:15:quarterly | 1.2 | 1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2 | 1.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_ARCH%%/Proc/FastSpawn.pm
- %%SITE_ARCH%%/auto/Proc/FastSpawn/FastSpawn.so
- %%PERL5_MAN3%%/Proc::FastSpawn.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Proc-FastSpawn-1.2.tar.gz | 6391 | fd525111e0f5e7de365b226b6b98b928a4293abe4928ed07d94f3aee12af2b2b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.