For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > January 2005 > Avoid displaying shell









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Avoid displaying shell
yusufdestina

2005-01-16, 3:57 pm

Hi, is this possible?
Now everytime i do this command the exe mysqldump pops up on my screen.
How can i avoid that?
open(SQL, ">$savepath/$ref.$date.$ext") || die "$!\n";
my @prog = open(LSQL, "mysqldump --user=$dbuser --password=$dbpass
--add-drop-table $ref |");
while(<LSQL> ){
print SQL $_;
$mw->Busy;
}
close (SQL);
close(LSQL);

yusufdestina

2005-01-17, 3:58 am

Ok, I've used Win32::Process...
second problem how can i capture the output of the executed program??
tnx for ur time && help

Marc Dashevsky

2005-01-17, 3:58 am

In article < 627d3d476115a059acf5999530a683fb@localho
st.talkaboutprogramming.com>,
joericochuyt@msn.com says...
> Ok, I've used Win32::Process...
> second problem how can i capture the output of the executed program??
> tnx for ur time && help


Aren't you more likely to get the answers you need in
a newsgroup that is not dedicated to perl/Tk?

--
Go to http://MarcDashevsky.com to send me e-mail.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com