g_spawn_async_with_pipes error while opening a file
- From: Neil Hodge <neh attbi com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: g_spawn_async_with_pipes error while opening a file
- Date: 15 Mar 2003 06:35:15 -0800
All:
I have been using g_spawn_async_with_pipes successfully with the
following types of command lines:
/usr/bin/nomadii --internal --memory
(i.e., command and switches) and it has been working just fine. I have
recently been trying to use a command line like this:
/usr/bin/nomadii --internal --send
"/mnt/disk2/home2/nhodge/music/rock/Metallica - Garage Inc. [Disc 2] -
01 - Helpless.mp3"
(i.e., with a command line option that requires opening a file on the
local file system) and I keep getting the following error:
Error: Could not send file "/mnt/disk2/home2/nhodge/music/rock/Metallica
- Garage Inc. [Disc 2] - 01 - Helpless.mp3": reading file - No such file
or directory
Note:
1. The command line I am trying to pass to g_spawn_async_with_pipes
works fine when I run it from a terminal window.
2. The call that is failing is
open(file_name,O_RDONLY)
Any ideas? Thanks.
Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]