Here's how I implemented your functionality...
<html>
<head>
<title>CGI script test</title>
</head>
<body>
<form method="get" action="cgi-bin/test.cgi">
<input type="submit" value="ok">
</form>
## cgi-bin/test.cgi#
# ! /bin/sh
echo "Content-type: text/html\n\n"
echo
echo "The cgi script is working\n"
I didn't use an actual executable so my solution is definitely slower since it's done via scripting but it does work. I also used the "get" method instead of the "post" method for the form. I'm not sure if the "post" method is properly implemented in boa for our distribution.
Hope this helps.