| IPC :: RunSession :: Simple. IPC :: RUN¿¡¼ µ¿ÀÏÇÑ Á¤¸Æ¿¡¼ °£´ÜÇÑ IPC ¼¼¼ÇÀ» ½ÇÇàÇϽʽÿÀ. |
Áö±Ý ´Ù¿î·Îµå |
IPC :: RunSession :: Simple. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Robert Krimen
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~rkrimen/
IPC :: RunSession :: Simple. ű×
IPC :: RunSession :: Simple. ¼³¸í
IPC :: Run°ú ±â´ë¿Í µ¿ÀÏÇÑ Á¤¸Æ¿¡¼ °£´ÜÇÑ IPC ¼¼¼ÇÀ» ½ÇÇàÇϽʽÿÀ. IPC :: RunSession :: SimpleÀº IPC :: Open3 ¹× IO :: Select.Synopsis¸¦ »ç¿ëÇÏ¿© Àбâ / ¾²±â ±â´ÉÀÌÀÖ´Â °£´ÜÇÑ IPC ¼¼¼ÇÀÔ´Ï´Ù. IPC :: RunSession :: Simple $ session = ipc :: RunSession :: Simple-> Open ( "fcsh") # ÇÁ·ÒÇÁÆ®°¡ 5 ÃÊ ÈÄ¿¡ ÀÐÁö ¾ÊÀ» ¶§±îÁö ÀнÀ´Ï´Ù. $ result = $ session-> read_until (qr / \ (fcsh \) /, 5) ($ °á°ú - > Æó¼â µÊ) {# ¿ì¸®´Â (ºñÁ¤»óÀûÀÎ) eof ...} e elsif ($ textr-> somewired) {# timeout°¡ triggered ...} else {print result-> content} # to sell 'fcsh'¸¦ ¾Ë·ÁÁÝ´Ï´Ù. $ ¼¼¼Ç -> ¾²±â ( "quit \ n")¸¦ Á¾·áÇÏ·Á¸é ¿ä±¸ »çÇ× : ¡¤ Perl.
IPC :: RunSession :: Simple. °ü·Ã ¼ÒÇÁÆ®¿þ¾î