I want to write a pexpect script that simply cd's into a directory ("~/
install") and then runs a command from there. It should be so easy.
But even my cd command is failing. Can't figure out what the problem
is. The command line prompt is "[my machine name here] % "
Here is the code fragment:
Saqib Ali wrote:
>
> I want to write a pexpect script that simply cd's into a directory ("~/
> install") and then runs a command from there. It should be so easy.
> But even my cd command is failing. Can't figure out what the problem
> is. The command line prompt is "[my machine name here] % "
>
Oops! Good call.
Thank you. You pointed out my mistake.
- Saqib
On Tue, Dec 20, 2011 at 12:31 AM, Nick Dokos wrote:
> Saqib Ali wrote:
>
> >
> > I want to write a pexpect script that simply cd's into a directory ("~/
> > install") and then runs a command from there. It should be so easy.
>