# Chef Console Error

**URL:** <https://discourse.chef.io/t/chef-console-error/11710>\
**Category:** Chef Infra (archive)\
**Created:** [October 9, 2017, 1:07pm UTC](https://discourse.chef.io/t/chef-console-error/11710 "2017-10-09T13:07:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyanshu](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@priyanshu](https://discourse.chef.io/u/priyanshu)\
**Post date:** [October 9, 2017, 1:07pm UTC](https://discourse.chef.io/t/chef-console-error/11710/1 "2017-10-09T13:07:21Z")

</div>

If i am running a chef resource say

execute ‘xyaz’ do  
cwd aaa  
command "su - oracle -c “any command”"  
end

The command will run fine but it gives error on console on running chef client  
stty: standard input: Invalid argument

How can we handle this error
