With the application Utilities/Console.app, I can see the console output of applications.
Is there a way to access this log from another application?
To be more specific: I am writing a crashhandler for my application and I want that it attaches the console output to the crash information.
...
Hello, I'm a Python newbie.
I need something like Curses library for Python 2.6 or 3.1 to run on Windows and Linux without any code changes.
I need functions for colorizing text and background, for clearing screen, for reading key code without showing letter on screen and for moving text cursor to specidied position.
It must be comple...
When attempting to use the app I have developed I am receiving the following errors:
Sun Oct 18 17:49:38 unknown com.apple.debugserver-43[316] <Error>: error: RNBRemote::HandlePacket_p(p3b): unknown register number 59 requested
Sun Oct 18 17:49:38 unknown com.apple.debugserver-43[316] <Error>: error: RNBRemote::HandlePacket_p(p3c): unkn...
Hi,
Does anyone know of any simple .NET windowing systems for the console?
I'm looking for something that manages areas of the console such that they are automatically scrolled independently of other areas. For example, I could create a status strip down the bottom and a main content area above it. It would also be useful if it handled...
I have a Windows console application written in C++ and want to hide/remove the complete title bar of the console window, including the close, min/max controls etc. I searched a lot but didn't found anything useful yet.
I inquire the console HWND with GetConsoleWindow and tried to change the console window style with SetWindowLong by r...
I use popen to execute commands in a Python script, and I call it via cron.
Cron calls out this script but the behavior isn't the same if I call it by hand.
Source:
from subprocess import Popen, PIPE
pp = Popen('/usr/bin/which iptables', shell=True, stdout=PIPE)
data = ''
for ln in pp.stdout:
data = data+ln
if data == '':
pr...
I created a win32 consoleline window, and now i managed to put shell icon of it on the right buttom corner of my desktop...
But now i need to add a menu to it when i right click the icon...
any body can help me with this hairy thing..
Thanx very much
...
Hi, I've been searching around the net for roughly three hours now w/o getting forward. I don't know VB very well, but I need to create a wrapper program for any executable that logs the arguments, all input, output and err information:
My wrapper is called: e.g. someApp.exe arg1 arg2
Logs to someApp.log: arg1 arg2
Calls original execu...
Hey stackoverflow,
I have written a pretty simple Windows service in C# that starts up automatically and runs A-okay. I was wondering the best method to have the service accept command-line input -- it will always be from the same user (admin), and the service itself is fully trusted (LocalSystem).
I know a little (very little) about d...
I'm currently developing an application that happens to require some file preprocessing before actually reading the data.
Doing it externally was not a possibility so I came up with a fork & execve of "cut options filename | sort | uniq -c" etc... and I execute it like that.
However I thought that maybe there was already another option...
I want to execute a jar file from within the C#.net application.The jar file is a console application. The jar file is present in the same directory as the C# application. 2. I want to check if jdk is installed frm within C#.net applcation
How can i do that?
...
I have created a small chatting application in C#, and started as a Console Application. However I want to create a GUI for it using WPF. It's a class named DanMessengerClientwith functions such as InitializeConnection(), SendMessage(string msg), etc.
I have already designed the UI in Visual Studio, and it created it's Window1 class on ...
Hello.
I would like to spawn a Windows form from the console using C#. Roughly like display does in Linux, and modify its contents, etc. Is that possible?
...
When I try to run my Mono C# programs in MonoDevelop on an external console, I get the following error.
http://i146.photobucket.com/albums/r248/bobber205/error.jpg
(First time needing to post a pic here on stackoverflow, sorry if this isn't correct to just post a link)
:)
It runs on windows's regular "cmd" console when I debug with in...
Is it possible to (and if so, how do I) make a single program work both as a console application and a GUI version using Delphi 2007?
What I am after is that if the program is run with the appropriate command-line options, it should function as a console program, printing output to the console using WRITELN, but if no command line argum...
I am writing a C# application that needs to communicate with another application written in native C. So far I have figured out how to send messages from my C# app to the C app with the User32.dll SendMessage. However I am unable to figure out how to get the C# app to RECEIVE messages from the C app.
I have seen WinForms examples of ove...
I would like a progress bar to appear in the console window while a file is being downloaded. My code is this: http://stackoverflow.com/questions/1636333/download-file-using-libcurl-in-c-c/1636827#1636827.
How to have a progress bar in libcurl?
...
Hi,
I would like to create a console program in VB.net that would allow parameters. What i would like to do is in the code below add parameters so the webpart page can be created from the Run menu. e.g. C:.......\MyProgram.exe "Design" --This would then create the Design webpart page.
I tried looking at the internet but was not very su...
I've written a simple command line tool that uses getchar to wait for a termination signal (something like: 'Press enter to stop'). I however also want to handle the SC_CLOSE case (clicking the 'close' button). I did this by using SetConsoleCtrlHandler. But how do I cancel my getchar?
I tried doing fputc('\n', stdin);, but that results...
Is there any console command "del" to delete files from a folder and put them into Recycle Bin? del command will delete files and not in Recycle Bin.
...