<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>输出 - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/%E8%BE%93%E5%87%BA/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Mon, 27 Aug 2012 11:48:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Hadoop执行时输出无法重定向</title>
		<link>https://www.coder4.com/archives/3611</link>
					<comments>https://www.coder4.com/archives/3611#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 27 Aug 2012 11:48:46 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Hadoop]]></category>
		<category><![CDATA[日志]]></category>
		<category><![CDATA[输出]]></category>
		<category><![CDATA[重定向]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3611</guid>

					<description><![CDATA[执行Hadoop任务时，会输出很多东西，没法重定向，貌似是stderr，不是stdout。 以下方法： hadoop xxxx 1&#62;0 2&#62;file_name[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3611/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Python Essential Reference 4th – 第9章 – 读书笔记</title>
		<link>https://www.coder4.com/archives/1556</link>
					<comments>https://www.coder4.com/archives/1556#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 19 May 2011 16:18:27 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[I/O]]></category>
		<category><![CDATA[Python Essential Reference]]></category>
		<category><![CDATA[文件]]></category>
		<category><![CDATA[环境变量]]></category>
		<category><![CDATA[第8章]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[输入]]></category>
		<category><![CDATA[输出]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1556</guid>

					<description><![CDATA[本章主要是关于各种I/O操作，包括File-Objec及其操作、Unicode字符串相关的I/O函数以及对象的序列化和持久化。 1、从cmd读取传入参数：sys.argv。其中sys.argv[0]是当前的程序名称。 2、想要退出系统时，出了exit和return外，还可以raise SystemExit(1) 3、解析命令行参数，可以使用optparse模块。 不过从2.7之后，Python将废弃optparse，转而支持argparse，话说开源的东西变动太大。。。 o[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1556/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux下使用popen执行子进程并获得其输出</title>
		<link>https://www.coder4.com/archives/1236</link>
					<comments>https://www.coder4.com/archives/1236#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sun, 19 Dec 2010 16:42:45 +0000</pubDate>
				<category><![CDATA[C && C++]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[popen]]></category>
		<category><![CDATA[例子]]></category>
		<category><![CDATA[子进程]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[获得]]></category>
		<category><![CDATA[输出]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1236</guid>

					<description><![CDATA[GString* exec_and_out(char* cmd) { GString* ret = g_string_new(""); FILE* stream = NULL; char buf[128]; size_t len = 0; //popen execute and open stream stream = popen(cmd, "r"); if (stream != NULL) { while (!feof(stream)) { len = fread([......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1236/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
