How to create plugin with external exe/dll file?

Answered

Hello,

I want to develop a plugin that depends on an external exe file written in c++.

Is it possible?

 

If so, can you give me a reference and examples of how to include external executable file and how to run it from the plugin?

Thanks

0
2 comments

You can bundle your DLL/executables with the plugin as a resource and copy them to the filesystem when the plugin is installed.

There is also ExecUtil class which utilises several methods that will let you run such an external program with ease.

0

Jakub Chrzanowski 

Hi!

Is there any reference code for how to copy executable files to the file system?

For example, maven plugin, etc.

It took me a long time to find best practices.

0

Please sign in to leave a comment.