From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: najja Newsgroups: gmane.emacs.help Subject: call-process Date: Thu, 28 Aug 2008 03:20:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: <77e78a87-2b12-4b39-9a91-d8cf82ae7c14@v13g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219920280 15529 80.91.229.12 (28 Aug 2008 10:44:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 10:44:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 12:45:34 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYf0O-0008HV-Az for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 12:45:32 +0200 Original-Received: from localhost ([127.0.0.1]:56082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYezP-0008Pt-Iv for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 06:44:31 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v13g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 219.239.132.226 Original-X-Trace: posting.google.com 1219918800 4030 127.0.0.1 (28 Aug 2008 10:20:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 28 Aug 2008 10:20:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v13g2000pro.googlegroups.com; posting-host=219.239.132.226; posting-account=t8fNhQoAAADr8xR_uPIbr94MwQHArf30 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161709 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57071 Hi there, I want the use curl to send my post to blogger data api. The following command works perfectly in the command line of my windows box: curl -v --header "string in e-blog-auth" -d "@d:\.myemacs\e-blog-tmp" https://www.blogger.com/feeds/blogid/posts/default However, when I translate it into the following call-process, it returns a error message called "Content is not allowed in prolog". (call-process "curl" nil e-blog-buffer nil "-v" "--header" e-blog-auth "--header" "Content-Type: application/atom+xml" "-d" "\"@d:\\.myemacs\\e-blog-tmp\"" "https://www.blogger.com/feeds/blogid/posts/default \") Is there anything wrong with the function?