Hacker News new | ask | show | jobs
by __david__ 1551 days ago
Unfortunately, PHP is the one scripting language that doesn't have direct exec() support! escapeshellarg() is the only tool they give you and it requires you to not shoot yourself in the foot. Even perl has multi arg system() that execs directly.
1 comments

there is pcntl_exec for that. Unfortunately it can be (and often is) disabled and thus not widely used.