Ricevo un comportamento strano con i comandi jobs
, fg
e bg
nella mia shell zsh. Ecco un esempio (questo accade per tutti i comandi, non solo python
):Comportamento strano dei "lavori" all'interno di zsh
$ python &
[1] 21214
Python 2.7.8 (default, Oct 19 2014, 16:02:00)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
[1] + 21214 suspended (tty output) python
$ jobs
[1] + suspended (tty output) python
$ fg 1
fg: job not found: 1
$ bg 1
bg: job not found: 1
Sto usando lo standard oh-my-zsh installazione su OS X.
Oppure impara il * reale * breve modo: digita semplicemente '% 1'. Viene assunto' fg'. –
Pensavo che zsh fosse un severo superset di bash. Come mai questo comportamento non è lo stesso? –
Zsh non è un superset rigido di Bash: http://zsh.sourceforge.net/FAQ/zshfaq02.html –