[kwlug-disc] Linux 'equivalent' to Windows 'start' command.

unsolicited unsolicited at swiz.ca
Thu Aug 15 18:36:08 EDT 2013


That was beginning to be my thinking as well.

Didn't know about 'disown'. Thanks for that.

Gotta like this list!

On 13-08-15 05:39 PM, Chris Irwin wrote:
> On Thu, Aug 15, 2013 at 2:39 PM, unsolicited <unsolicited at swiz.ca> wrote:
>
>>
>> [...] Extending your note things become
>>
>> {cmd} > /dev/null 2>&1 <&1 &
>>
>
> Assuming you're otherwise happy with this, it appears that using the
> bash-builtin `disown` prevents the exit status from being written to your
> terminal.
>
> You could always stick a function in your ~/.bashrc to simulate the `start`
> command:
>
> start()
> {
>      ${1} >/dev/null 2>&1 <&1 &
>      disown
> }




More information about the kwlug-disc mailing list