Page 1 of 1

[Share My Idea] way to Run your python file

Posted: 12.11.2019 16:35
by hycmos
Plugin:
plugin.External_Tools.zip
Problem:
CudaText will not respond until this external python file is closed.

The worst situation is:
This will show wrong content if the function of this python file is to modify the content of the opened Tab file.
After the external python file is closed, the CudaText could not change the content althrough this is changed.

Solution:
Dont use the built-in python3.exe

My Configuration:
1) tools-->configure-->edit-->File Name:
C:\Users\******\AppData\Local\Programs\Python\Python37\pythonw.exe
2)Parameters:
'D:\\PY\\test\\mesh\\module1.pyw'
3)Capture Output:
ignore

It seems all OK.

Posted: 12.11.2019 17:46
by Alexey
Author of External Tools plans to rework the plugin to support async running of programs. He has no time yet.

Posted: 13.11.2019 00:18
by hycmos
OK.
expect his new version.

I guess the key is the 'capture output'.
I can not set it to 'ignore' if using the built-in pythin engine. because ex-tool donot run when 'ignore'.
other options will result in Cudatext's freezing.