electro-music.org   Dedicated to experimental electro-acoustic
and electronic music
 
 Front Page  |  Radio  |  Forum  |  Media  |  Playlists  |  Wiki
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 
 Forum index » DIY Hardware and Software » ChucK programming language
Dump VM status to a file
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
eem



Joined: Apr 08, 2010
Posts: 9
Location: France

PostPosted: Fri Feb 11, 2011 2:59 am    Post subject: Dump VM status to a file Reply with quote  Mark this post and the followings unread

Hi,

Is there a way to dump the status of the virtual machine to a file? Of course I tried:

Code:
chuck --status > status.out

but the output is always redirected to the VM console.

From within the sketch I tried:

Code:
file.write(Machine.status());

but no more success..

Any idea? Thanks.

Nicolas

_________________
Electronique et Musique blog
Back to top
View user's profile Send private message
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 373
G2 patch files: 100

PostPosted: Fri Feb 11, 2011 3:27 am    Post subject: Re: Dump VM status to a file Reply with quote  Mark this post and the followings unread

eem wrote:
Hi,

Is there a way to dump the status of the virtual machine to a file? Of course I tried:

Code:
chuck --status > status.out

but the output is always redirected to the VM console.


Weird! have you tried adding stderr to the pipe like this?

Code:
chuck --status > status.out 2>&1

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
eem



Joined: Apr 08, 2010
Posts: 9
Location: France

PostPosted: Fri Feb 11, 2011 8:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Code:
chuck --status > status.out 2>&1


This is a Linux command, right? But I'm on Windows..

_________________
Electronique et Musique blog
Back to top
View user's profile Send private message
blue hell
Former site admin


Joined: Apr 03, 2004
Posts: 24863
Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320

PostPosted: Fri Feb 11, 2011 9:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Looks like the windows way to do it to me ... some info here : http://support.microsoft.com/kb/110930
Back to top
View user's profile Send private message Visit poster's website
eem



Joined: Apr 08, 2010
Posts: 9
Location: France

PostPosted: Sun Feb 13, 2011 3:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi,

Ok thanks, I am not used to these batch commands.

But anyway it still doesn't make it. After reading the doc again, I think that it is only possible with Linux or Mac, or Windows with Cygwin.

Nicolas

_________________
Electronique et Musique blog
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 [5 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
Log in
Username:     Password:      Log me on automatically each visit    


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2026 by electro-music.org