Error while "call nohup command &"
When I try typing
> open somesession
> cd somedirectory
> call nohup somecommand &
WinScp outputs
> Searching for host...
> Connecting to host...
> Authenticating...
> Using username "someuser".
> Authenticating with pre-entered password.
> Authenticated.
> Starting the session...
> Reading remote directory...
> Session started.
> -sh: Syntax error: ";" unexpected
> Connection has been unexpectedly closed. Server sent command exit status 2.
> Session 'somesession' closed.
> No session.
The command DOES work in PuTTY. The reason is clearly "&" at the end of command.
What to do?
> open somesession
> cd somedirectory
> call nohup somecommand &
WinScp outputs
> Searching for host...
> Connecting to host...
> Authenticating...
> Using username "someuser".
> Authenticating with pre-entered password.
> Authenticated.
> Starting the session...
> Reading remote directory...
> Session started.
> -sh: Syntax error: ";" unexpected
> Connection has been unexpectedly closed. Server sent command exit status 2.
> Session 'somesession' closed.
> No session.
The command DOES work in PuTTY. The reason is clearly "&" at the end of command.
What to do?