Fix pty option setting in execute command
Merge pull request #229 from wbinglee/master

Fix pty option setting in execute command