If you have enciutered pseudo-terminal will not be allocated because stdin is not a terminal. you can fix it. Read the article to get rid of the warning.