localstack / localstack/awscli-local
On Windows 11 the terminal proprt apears before the prints
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 1.3k
- Forks
- 94
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
It's a bit hard to explain the issue I'm facing so adding a print screen:

You can see that I get a prompt for the next command before the `awslocal` command has finished running.
This causes several issues when we have several inputs to enter one after another like the `configure` command of aws cli, in case I want to enter credentials.

You can see I got a prompt for the next command even though I'm supposed to be in the context of the first one.
I tried this on 2 different computers, both in CMD and Powershell.
Any ideas?
Is this a bug?
As a workaround, I added this to my Powershell Profile:
```powershell
function awsl {
param(
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$Args
)
aws @Args --profile local --endpoint-url http://localhost:4566
}
```
So instead of `awslocal` I'm my custom `awsl` at the end of each `aws` command (not only endpoint but also my custom aws-local profile).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Verhalten von awslocal unter Windows 11 sowohl in CMD als auch in PowerShell zu reproduzieren, insbesondere mit dem AWS CLI configure command. Vergleiche es mit dem gemeldeten PowerShell awsl-Workaround und ermittle, wann die Eingabeaufforderung im Verhältnis zum Abschluss des Befehls erscheint. Als erledigt gilt die Aufgabe, wenn awslocal wartet, bis der Befehl und die interaktive Eingabe abgeschlossen sind, bevor die nächste Eingabeaufforderung zurückgegeben wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, python
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100