Printing the result of the script(running in background) on the terminal

Karan

I am writing a perl script which runs another tcl script from it. The terminal doesn't print anything and waits for the tcl script to complete.

`chmod +x runme.tcl`; `./runme.tcl 2>&1`;

Can anyone please help me on how to print the results of the tcl script on the terminal instead of just waiting for it to get completed?

Thank you

ikegami
system('chmod +x runme.tcl');
system('/runme.tcl 2>&1');

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Background transparency for Gnome Terminal

分類Dev

Unicode characters not printing properly in terminal python

分類Dev

printing a double variable with %f and the terminal is displaying a "?"

分類Dev

VIM Background - Terminal left a Border?

分類Dev

Get Scilab to calculate without printing result

分類Dev

Capture the result from the terminal (external process)

分類Dev

bash compgen result contains terminal color codes

分類Dev

terminal - run java app in background and how to close it?

分類Dev

Change background color of terminal emulator wrapper

分類Dev

image raster R package - raster printing without background and border and legend

分類Dev

Try set background dashed line but result - underscore

分類Dev

MAC: How to have the result of a command from Terminal History

分類Dev

How set command in background,close terminal and get it back to fg?

分類Dev

Why printing the first member of structure by using the structure tag name and using %d specifier for character member result in strange output?

分類Dev

Printing in order

分類Dev

How to update jsp status (from submitted to processing then success )if a spring batch job runing in background that will update a sql result status

分類Dev

No menus on terminal

分類Dev

Basic bash printing question

分類Dev

Printing object properties in Powershell

分類Dev

Landscape printing from HTML

分類Dev

Printing multiple figures in matlab

分類Dev

Printing variant types in OCaml

分類Dev

Printing the calculated distance in SQLAlchemy

分類Dev

Printing horizontally in loops

分類Dev

Printing data in listview to firebase

分類Dev

Printing plots through a function

分類Dev

Printing objects in Perl 6

分類Dev

printing tibble to console with a message

分類Dev

Printing value of $0

Related 関連記事

  1. 1

    Background transparency for Gnome Terminal

  2. 2

    Unicode characters not printing properly in terminal python

  3. 3

    printing a double variable with %f and the terminal is displaying a "?"

  4. 4

    VIM Background - Terminal left a Border?

  5. 5

    Get Scilab to calculate without printing result

  6. 6

    Capture the result from the terminal (external process)

  7. 7

    bash compgen result contains terminal color codes

  8. 8

    terminal - run java app in background and how to close it?

  9. 9

    Change background color of terminal emulator wrapper

  10. 10

    image raster R package - raster printing without background and border and legend

  11. 11

    Try set background dashed line but result - underscore

  12. 12

    MAC: How to have the result of a command from Terminal History

  13. 13

    How set command in background,close terminal and get it back to fg?

  14. 14

    Why printing the first member of structure by using the structure tag name and using %d specifier for character member result in strange output?

  15. 15

    Printing in order

  16. 16

    How to update jsp status (from submitted to processing then success )if a spring batch job runing in background that will update a sql result status

  17. 17

    No menus on terminal

  18. 18

    Basic bash printing question

  19. 19

    Printing object properties in Powershell

  20. 20

    Landscape printing from HTML

  21. 21

    Printing multiple figures in matlab

  22. 22

    Printing variant types in OCaml

  23. 23

    Printing the calculated distance in SQLAlchemy

  24. 24

    Printing horizontally in loops

  25. 25

    Printing data in listview to firebase

  26. 26

    Printing plots through a function

  27. 27

    Printing objects in Perl 6

  28. 28

    printing tibble to console with a message

  29. 29

    Printing value of $0

ホットタグ

アーカイブ