Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7755453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:34:23+00:00 2026-06-01T12:34:23+00:00

Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands

  • 0

Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands (and not just requests for passwords, but also requested user input when no “stdin/interactive override” like apt-get install -y is available).

This question along with these Fabric docs suggest that Fabric can only “push the interactivity” back to the human user that’s running the Fabric program. Seeking to instead fully automate without any human presence. Don’t yet have a “real,” current problem to solve, just preparing for possible, future obstacle.

Possibly useful to combine with pexpect (or similar, alternative mechanism) if Fabric can’t exclusively handle all stdin/prompts automatically? Hoping it doesn’t need to be an “either/or” kind of thing. Why not leverage both (pexpect and Fabric) where appropriate, if applicable, in same program/automation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T12:34:24+00:00Added an answer on June 1, 2026 at 12:34 pm

    As Glenn, I would say use pexpect; in addition,

    have a look at this wrapper I wrote to script the pexpect behaviour from fabric:

    from ilogue.fexpect import expect, expecting, run 
    
    prompts = []
    prompts += expect('What is your name?','John')
    prompts += expect('Where do you live?','New York')
    
    with expecting(prompts):
        run('command')
    

    See also my blogpost on fexpect or how to handle prompts in fabric with pexpect

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just seeking confirmation here : apache Thrift protocol does not seem to support running
Seeking your help to get off .epub(s) sea in iPhone world... I am trying
Seeing as though ASP.NET MVC 2 Preview 1 was just released it means the
Seeking help to design a layout as shown here: http://docs.google.com/Doc?docid=0AQhgDtGvE2HgZGZ6cmtua185MTd0eGdyZmc&hl=en The major challenge I
I'm seeking a library, technique or advice on how to read an EAN-13 barcode
I'm seeking further clarification after seeing What is responsible for releasing NSWindowController objects? I'm
I am seeking a method to extract into separate images the Luma (Y), Cb
I'm seeking a solution to splitting a string which contains text in the following
I'm seeking to display a fixed number of items on a web page according
I understand what the CalledFromWrongThreadException exception means, but I cannot comprehend how the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.