Scriptfu: background a process and display spinner

How to background a long running process and show the user some animation while waiting