Unix Shell - making bash non-interactive

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > January 2006 > making bash non-interactive





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author making bash non-interactive
mike.dershowitz@gmail.com

2006-01-13, 10:40 pm

hello, I'm executing the following command line to start a new bash
shell:

bash -c $cmd

what parameter do I need to add to make this non-interactive? Meaning,
I want it to run in the background and the process taht starts it, I
want that to regain control?

Thank in advance!

mike

Ed Morton

2006-01-13, 10:40 pm



mike.dershowitz@gmail.com wrote:
> hello, I'm executing the following command line to start a new bash
> shell:
>
> bash -c $cmd
>
> what parameter do I need to add to make this non-interactive? Meaning,
> I want it to run in the background and the process taht starts it, I
> want that to regain control?


&

> Thank in advance!
>
> mike
>

Oliver Vecernik

2006-01-13, 10:40 pm

mike.dershowitz@gmail.com schrieb:
> hello, I'm executing the following command line to start a new bash
> shell:
>
> bash -c $cmd
>
> what parameter do I need to add to make this non-interactive? Meaning,
> I want it to run in the background and the process taht starts it, I
> want that to regain control?


bash -c $cmd &

--
Oliver
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com