How can we run a custom command in eclipse?
Asked Answered
P

2

10

I want to run a custom command say "run mspaint.exe" from eclipse..How can i do that? I want to run more complex commands written by me but i want to run from eclipse because the resources are in my workspace generated on some program compilation..

Poetess answered 1/2, 2012 at 10:47 Comment(0)
M
17
run > external tool > external tool configurations...

for paint say,

Name: run paint
Location: C:\Windows\System32\mspaint.exe

done. you can see this menu. and execute.

Well, since paint just opened, lets get a screenshot for you :)

enter image description here

Meade answered 1/2, 2012 at 10:57 Comment(0)
E
0

One can use internal DSL when defining an external tool. Instead of C:\Windows\System32\calc.exe one writes ${system_path:calc}.

Full list of supported functions:

https://help.eclipse.org/2022-09/topic/org.eclipse.platform.doc.user/concepts/concepts-exttools.htm

Eddings answered 2/11, 2022 at 18:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.