View Single Post
Old 02-01-2013, 03:54 PM   #271
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by eureka View Post
I have a suspicion that invocation of sh -c "ls|wc &" will work as well as execution of temporary script with ls|wc &
Both should create a new instance of the shell in a new process.

And if ASH has "job control" features, you might try diddling with those.
I **think** that if "job control" is off - then the new process will be created as a process-group leader rather than as a child.
**think**
knc1 is offline   Reply With Quote