public function setStdin(string $str): Process
    {
        $this->spec[self::STDIN] = ["pipe", "r"];
        $this->stdin = $str;
        return $this;
    }
public function setStdin(string $str): Process
    {
        $this->spec[self::STDIN] = ["pipe", "r"];
        $this->stdin = $str;
        return $this;
    }
public function setStdin ( string $ str ) : Process { $ this -> spec [ self :: STDIN ] = [ "pipe" , "r" ] ; $ this -> stdin = $ str ; return $ this ; }
Set the stdin contents

@param string $str The stdin value
@return \sndsgd\Process
Set the stdin contents