# Where is Wx::Execute?

**URL:** <https://www.ruby-forum.com/t/where-is-wx-execute/148810>\
**Category:** wxRuby\
**Created:** [September 17, 2008, 9:10am UTC](https://www.ruby-forum.com/t/where-is-wx-execute/148810 "2008-09-17T09:10:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![backz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9f8e36/32.png) [@backz](https://www.ruby-forum.com/u/backz)\
**Post date:** [September 17, 2008, 9:10am UTC](https://www.ruby-forum.com/t/where-is-wx-execute/148810/1 "2008-09-17T09:10:10Z")

</div>

wxExecute is in wxwidgets. but where is Wx::Execute?  
How can I execute a command in the operating system?

---

<div class="post-metadata">

**Author:** ![backz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9f8e36/32.png) [@backz](https://www.ruby-forum.com/u/backz)\
**Post date:** [September 17, 2008, 9:47am UTC](https://www.ruby-forum.com/t/where-is-wx-execute/148810/2 "2008-09-17T09:47:26Z")

</div>

wxRuby doesn’t implement wxExecute, or any of the similar functions,  
since  
Ruby has it’s own way of doing it. You would need to use  
Kernel::system()  
Or Kerne::`` These execute sub-commands. If you need Input/Output  
Capture,  
look into Open3/Open4.
