我試圖執行通過節點的spawn()像一個批處理腳本什麼如下所示: const spawn = require('child_process').spawn;
const script = require.resolve('./script_1.bat');
const bat = spawn(script);
/* program runs properly (for the most p
use Parallel::ForkManager;
my $number_running = 0;
my $pm = new Parallel::ForkManager(30);
$pm->run_on_start(sub { ++$number_running; });
$pm->run_on_finish(sub { --$number_running; });
for (my