func (p *Process) NewConsole(rootuid int) (Console, error) {
	console, err := newConsole(rootuid, rootuid)
	if err != nil {
		return nil, err
	}
	p.consolePath = console.Path()
	return console, nil
}
func (p *Process) NewConsole(rootuid int) (Console, error) {
	console, err := newConsole(rootuid, rootuid)
	if err != nil {
		return nil, err
	}
	p.consolePath = console.Path()
	return console, nil
}
func ( p * Process ) NewConsole ( rootuid int ) ( Console , error ) { console , err := newConsole ( rootuid , rootuid ) if err != nil { return nil , err } p . consolePath = console . Path ( ) return console , nil }
// NewConsole creates new console for process and returns it
NewConsole creates new console for process and returns it