Issue #6447: Docker non stoppé après le timeout
Issue #6447: Docker non stoppé après le timeout

The child_process.exec() API was not followed, so the process was not stopped.

Switch the exec call into a child_process.spawn() call to avoid issues with shell expansion, and to fix the call itself so that it works. Also call the callback when it's done.

 Correct the API as the timeout is expressed in second, but setTimeout() expects milliseconds. Add a default of 30 seconds.

EDP-Sciences/clsi-sharelatex