10 thoughts on “Expect for .NET

    • Hi!
      Sure. I can release version 2.0.0 with removed case sensitive problems. I wasn’t aware that VB is not case-sensitive 😮

      Could you send me some code example in VB (something simple like spawning cmd.exe and sending command ‘dir’) so I can test it before release?

      Regards,
      Wojtek

  1. Hello!
    Is it possible to just attach Expect to any process? If I do so like
    Process proc = Process.Start(“cmd.exe”);

    ISession session = Expect.Expect.Spawn(new Expect.ProcessSpawnable(server));

    It creates new instance of cmd.exe…
    Thank you!

    • ISession session = Expect.Expect.Spawn(new Expect.ProcessSpawnable(proc));

      Sorry, my mistake 😀

  2. Ok, solved 😀 Sorry for spamming.
    =>
    Process proc = new Process();
    proc.StartInfo = new ProcessStartInfo(“cmd.exe”);

    ISession session = Expect.Expect.Spawn(new Expect.ProcessSpawnable(proc));

Leave a Reply