我想在Application Engine里加一段调用命令行的代码,

All PeopleCode is executed on the application server. So if you're calling an interactive application, you receive an error. There shouldn't be any application interaction on the application server console.