DelphiWorlds / Codex

Codex is an add-in for RAD Studio
MIT License
64 stars 10 forks source link

[Internal] Remove dependence on JCL/JVCL #26

Closed DelphiWorlds closed 1 year ago

DelphiWorlds commented 1 year ago

As per the title, internally Codex is dependent on JCL/JVCL, specifically for executing processes such as some of the build tool executables for Android. This is the only part required by Codex, so it would be a "nice to have" to remove it.

The code to do this is currently not working, and a demo has been set up in Playground to seek help

War3Evo commented 1 year ago

Your "Create Process" is a bit complex for just executing commands in cmd. Do you really need it that complex in order to execute command prompt stuff?

Try doing it via my component: https://github.com/War3Evo/gtDelphi/blob/master/CommandPrompt/gtCommandPrompt.pas

DelphiWorlds commented 1 year ago

"Your "Create Process" is a bit complex for just executing commands in cmd." It's not my code - it's from JVCL, and yes, it is a bit of overkill, which is one of the reasons why I wanted to remove the dependency on JVCL. I now have an alternative, as per my reply in the discussions section.