Your question reminds me of an experience a former manager had.
Customer: We need the computer to do this for us.
Computer Guy: How do you do this now?
Customer: We don't know how. That is why we need toe computer to do this.
You need to figure out how to do what you desire from the command line before trying the exec binding. If this is important to you, show som eeffort by showing us what you tried and how it failed.
Ine las point? What problem are you trying to solve by resetting GPIO? There may be another way to accomplish the desired results.
How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community