electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Antimon Antimon Waves
Please visit the chat
 Forum index » DIY Hardware and Software » ChucK programming language
Save chuck --status output to file
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Phloxs



Joined: Jan 24, 2014
Posts: 17
Location: Russia

PostPosted: Mon Nov 30, 2015 11:51 am    Post subject: Save chuck --status output to file Reply with quote  Mark this post and the followings unread

Hello.

How can I save output of chuck --status command to text file?

I trying to use chuck --loop > text.txt and then chuck --status,
but output of --status command saves only after chuck stoped, but i need to save output without stopping Chuck.
Back to top
View user's profile Send private message
feltworkshop



Joined: Dec 16, 2015
Posts: 2
Location: Sydney, Australia

PostPosted: Wed Dec 16, 2015 8:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

like you said - looks like normal shell redirection can't capture the output of
--status in 'real time'. I tried '>>' - tee - echo `chuck file.ck` 1>file etc.

no joy

Can you piece together what you need to print inside your ChucK code & write it to file using 'file <= command...;' ?

I was hoping that Machine.status() might return something like --status but nope.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use