- or download this
open2($socket,$socket, "cmd.exe");
- or download this
if (my $client = $server->accept( )) {
open2($output,$input, "cmd /k");
...
print $data, "\n";
}
}
- or download this
my $select = IO::Select->new( );
if (my $client = $server->accept( )) {
...
$output->sysread($data, 10, 0);
print $data, "\n";
}