gram continue and finish without to do
anything.
I dont know where is my mistake.
Well thanks in advance
Regards
El jueves, 13 de octubre de 2016, 15:20:22 (UTC-3), Konstantin Khomoutov
escribió:
>
> On Thu, 13 Oct 2016 10:43:24 -0700 (PDT)
> Walter Garcia <wal...@gmail.com
Hello all
Im trying to test using zlib.
In my test I need compress the Stdout from exec.Command to zlib and then
send to io.reader to use in other service
cmd := exec.Command("mysqldump", args...)
..
cmd.StdoutPipe()
z := zlib.NewWriter( ... )
.
z -> to -> io.reader
Could you help me?
> promising.
>
> On Monday, July 18, 2016 at 10:39:36 AM UTC-7, Walter Garcia wrote:
>>
>> Hello.
>>
>> Im using pipe.v2 and work fine, but I need cancel the process running,
>> How can I do it?
>>
>> The process is running, but in certain circumstanc
Hello.
Im using pipe.v2 and work fine, but I need cancel the process running, How
can I do it?
The process is running, but in certain circumstances I need to cancel.
this is my code
p := pipe.Line(
pipe.Exec("command1", args_command1...),
pipe.Exec("command2", args_command2...),
)
Hello.
I have problems running 2 commands.
When the second COMMAND2 fail this return os.Exit(2) but my program never
finish. If I see the process using ps ax I can see COMMAND2
If I run this 2 programs in linux command line, this work fine, but doesnt
work in go.
Could you help me? please
ct({
> Bucket: aws.String(bucket),
> Key:aws.String(key),
> })
>
> if err != nil {
> fmt.Fprintln(os.Stderr, err)
> os.Exit(1)
> }
>
> n, err := io.Copy(os.Stdout, result.Body)
> result.Body.Close()
>
>
>
> On Wednesday, June 29, 2016 at 3:35:39 PM UTC-
t.Fprintln(os.Stderr, err)
>> os.Exit(1)
>> }
>>
>> n, err := io.Copy(os.Stdout, result.Body)
>> result.Body.Close()
>>
>>
>>
>> On Wednesday, June 29, 2016 at 3:35:39 PM UTC-7, Walter Garcia wrote:
>>>
>>> Hello all.
>>>
>>> Im n
Hello all.
Im new using AWS SDK in go and Im need download file object from S3 to
Stdout and not create a file.
For example:
my_download_s3_program > file.txt
or
my_download_s3_program | tar
etc
So, I can download to file, but I need stream on the fly to stdout, it's
possible?
This example