# Start fw log in background. # Note that all file descriptors are still shared; # you may need to close stdin if "fw log" tries to read it. fw log -n & # Wait 10 seconds. sleep 10 # Kill the child process and exit. kill $!