works for simple apps like ls, id, who, etc.