HH\Lib\OS\posix_spawn

Facebook Engineer?

This is available as OS\posix_spawn in the www repository.

namespace HH\Lib\OS;

function posix_spawn(
  string $file,
  posix_spawn_file_actions_t $file_actions,
  posix_spawnattr_t $attributes,
  vec<string> $argv,
  vec<string> $envp,
): pid_t;

Parameters

  • string $file
  • posix_spawn_file_actions_t $file_actions
  • posix_spawnattr_t $attributes
  • vec<string> $argv
  • vec<string> $envp

Returns

  • pid_t