You are here: PSPad forum > English discussion forum > Re: External Application

Re: External Application

#1 External Application

Posted by: pythonui | Date: 2015-05-20 03:17 | IP: IP Logged

Hello,

I have setup one external application for python(Syntax Checking).

When I called this application with F9 it will open the CMD(Command Prompt). But its close at that moment. I am not able to see content of CMD.

Is there any setting to do?

Edited 1 time(s). Last edit at 2015-05-20 03:17 by pythonui.

Options: Reply | Quote | Up ^


#2 Re: External Application

Posted by: pspad | Date: 2015-05-20 03:46 | IP: IP Logged

In your bat redirect output to some file and let the file open as LOG for external application

Another possibility is compiler where you can catch output into log directly

Options: Reply | Quote | Up ^


#3 Re: External Application

Posted by: pythonui | Date: 2015-05-20 05:32 | IP: IP Logged

Thanks for answer,

I have ".exe" file for external application.Is that possible to capture external application output to pspad log window or any log file?

Options: Reply | Quote | Up ^


#4 Re: External Application

Posted by: pspad | Date: 2015-05-20 05:41 | IP: IP Logged

If you will use Compiler instead of external application, you can simple catch compiler output

If you want to catch output from any exe to file, create BAT, something like:

mybat.bat
-----
myapplication.exe %1 >%2

In the PSPad you will call bat instead of your exe direct call and you will

Call the bat as:
mybat %filename% %Dir%%Name%.log
LOG file: %Dir%%Name%.log

Options: Reply | Quote | Up ^


#5 Re: External Application

Posted by: pythonui | Date: 2015-05-20 05:46 | IP: IP Logged

Thanks for your answer,

Its working!!!!

Options: Reply | Quote | Up ^


#6 Re: External Application

Posted by: pythonui | Date: 2015-05-20 06:18 | IP: IP Logged

I am not able to edit my previous comment.

UPDATE:

If we dont want to create log file then we can add 'cmd /k' at the end of the bat file to not close the CMD window.!!

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR