2006年02月08日
exec
- ikepon
- 2006年02月08日
- コメントする
- トラックバック (1)
- カテゴリー:Perl
exec関数に関して説明します。
exec (コマンド)
コマンドを実行してスクリプトを終了します。
exec (コマンド, 引数1, 引数2, ...)
コマンドを引数を指定して実行してスクリプトを終了します。
次のファイルをsample160.plという名前で保存します。
exec("ls /");
print "終了しました。\n";
実行結果は、次の様になります。
> perl sample160.pl COPYRIGHT dev libexec sbin var bin dist mnt stand boot etc proc sys cdrom home rescue tmp compat lib root usr
Trackback on "exec"
以下1件のトラックバックはこのページのエントリー"exec"を参照しています。
このエントリーのトラックバックURL:
» Free Lesbian Chat Rooms
- 2007年01月22日 01:42
- from Free Lesbian Chat Rooms
Live free gay webcams fl... [続きを読む]
"exec"へのコメントはまだありません。