Skip to content

Error when running bob in noninteractive #321

@TheFurnace

Description

@TheFurnace

When running bob for the first time in the background it fails with the message "ERROR Error: IO error: not a terminal"

repro:

#!/bin/bash
set -m
(
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
$HOME/.cargo/bin/cargo install bob-nvim
$HOME/.cargo/bin/bob install nightly
$HOME/.cargo/bin/bob use nightly
) > "bob.log" 2>&1 &
wait $!

The culprit seems to be that bob asks the user for permission to add the nvim-bin directory to path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions