tomasd Posted July 2, 2009 Share Posted July 2, 2009 Hi, I'm trying to call pdfp application which I use to print pdf's via .bat file. And while this is happening display a message saying "please wait printing". The problem I have is that exec() function waits for my .bat file to exit before loading the page. Is there any way of telling exec() to either not wait for return code from .bat or get it to start after the page has loaded? Thanks! Link to comment https://forums.phpfreaks.com/topic/164527-not-waiting-for-return-code-from-external-app/ Share on other sites More sharing options...
rhodesa Posted July 2, 2009 Share Posted July 2, 2009 so, which Linux I have a solution with exec()...but not with windows. you could do an AJAX call to the script that prints it after the page is loaded though... Link to comment https://forums.phpfreaks.com/topic/164527-not-waiting-for-return-code-from-external-app/#findComment-867811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.