[Share My Idea] way to Run your python file

Post Reply
hycmos
Posts: 86
Joined: 06.11.2019 02:17

[Share My Idea] way to Run your python file

Post 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.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Author of External Tools plans to rework the plugin to support async running of programs. He has no time yet.
hycmos
Posts: 86
Joined: 06.11.2019 02:17

Post 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.
Post Reply