![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find the jobs running in background and stop | srinivas_paluku | Shell Programming and Scripting | 7 | 01-28-2008 04:41 PM |
| Notification from Background jobs | vibhor_agarwali | UNIX for Advanced & Expert Users | 19 | 06-20-2007 02:29 AM |
| background jobs exit status and limit the number of jobs to run | GrepMe | Shell Programming and Scripting | 1 | 06-11-2007 03:56 PM |
| Background jobs | Jeremiorama | High Level Programming | 1 | 11-25-2005 05:48 AM |
| Checking background jobs from another session | vikingshelmut | UNIX for Dummies Questions & Answers | 3 | 10-12-2005 02:34 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
i have a problem with turning a job into backgrund. When i enter this at the shell: spice -b darlington.cir -r output.raw > screenout.tmp & and then let me show the currently running jobs, i get the following output: [2] + Suspended (tty output) spice -b darlington.cir -r output.raw > screenout.tmp Why is the job suspended?? Does somebody know how to solve this problem? Thank you very much! greetings |
| Forum Sponsor | ||
|
|
|
||||
|
Please don't post duplicate threads in multiple forums. If somebody can offer you their assistance, they will - posting more than once will not yield a faster response! I have removed the duplicate post.
Please review the forum rules, in particular, rule 4. EDIT: In response to the actual question, it is possible that the script/program is actually wanting input. On some OS's you can do "read foo &" and it will appear as suspended (tty output). I've seen this behaviour on Solaris (tcsh) before. e.g Code:
% read foo & [1] 7169 % [1] + Stopped (tty output) read foo Cheers ZB Last edited by zazzybob; 11-22-2004 at 07:03 AM. |
|
||||
|
Quote:
I know that zsh had a few bugs regarding this too - but I'm not sure if the OP uses the Z shell. Which shell and OS are you using, qsi? EDIT: Just tried under Solaris 9 - using ksh: Code:
$ read foo & [1] 360 $ [1] + Stopped (SIGTTOU) read foo & Cheers ZB Last edited by zazzybob; 11-22-2004 at 02:15 PM. |
|
|||
|
Hi,
without the "&" the program runs; it doesn't promt for input. I also tried Perderabo's hint, but the program also got suspended... My OS is Solaris 8. I use the tcsh. But it seems to be the same problem in Bourne-Shell. I built the command-line into a shell-script, which i run under sh, the script also got suspended (also because of spice). greetings Last edited by qsi; 12-05-2004 at 10:59 PM. |
|||
| Google The UNIX and Linux Forums |