我写了个简单的gui应用,下面是其中的一段:my $file_f = $mw->Frame(-borderwidth => 2, -relief => 
'groove')->pack(-side=>'right',-fill=>'both');
$file_f->Label( -text => 'Other' )->pack(-fill=>'x', -side=>'top');
$file_f->Button(    -text => 'param',    -command => sub { `notepad ../_vimrc` }
)->pack(-fill=>'x', -expand=>'both');
当按下button后,notepad被打开,如果这时候gui就没有响应了,只有notepad关闭后才能恢复。请问有什么办法解决吗,即一个任务还没完成,还可以进行其他操作。


Wfg LIU

thanks


                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 [email protected]。
要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

回复